# xyzzy.fi # www.xyzzy.fi server { listen 80; listen [::]:80; server_name xyzzy.fi; root /var/xyzzy/html; index index.html; location / { try_files $uri $uri/ =404; } } server { listen 80; listen [::]:80; server_name www.xyzzy.fi; root /var/xyzzy/html; index index.html; location ~ /\.well-known { allow all; } location ~ / { return 301 $scheme://xyzzy.fi$request_uri; } }