server { listen [::1]:80; server_name DOMAIN; root /srv/hyper/USER/hyper/DIR; location / { try_files $uri $uri.html $uri/ =404; } }