#server { listen 8000; listen somename:8080; server_name somename alias another.alias; location / { root html; index index.html index.htm; } #} HTTPS server #server { listen 443 ssl; server_name localhost; ssl_certificate cert.pem; ssl_certificate_key cert.key; ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; location / { root html; i