server { listen 80; server_name location / { root /var/www/html; index index.html index.htm; try_files $uri $uri/ =404; } }