server { listen 80; location /security.txt { return 308 /.well-known/security.txt; } location / { root /website; index index.html index.htm; } error_page 404 /404.html; #error_page 500 502 503 504 /50x.html; }