server { listen 443 ssl; ssl_certificate ; ssl_certificate_key ; ssl_dhparam ; server_name aula.c-iv.ru; root /var/www/aula; index index.html; location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. allow all; try_files $uri $uri/ /index.html; } }