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