server { server_name example.com; location = /favicon.ico { access_log off; log_not_found off; } location /static { autoindex on; alias /srv/ausglamr/static; } location / { root html; index index.html index.htm; proxy_pass http://127.0.0.1:8080; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } }