Skip to content

Sysadmin

nginx static hosting

server {
        listen 80;

        root /var/www/static;
        server_name static.bigogo.com;
        location / {
                autoindex on;
        }
}

disable password login

$ vim /etc/ssh/sshd_config
...
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
...