www/etc/nginx/sites-available/xyzzy.fi.conf.bootstrap
2024-03-31 09:17:15 -05:00

32 lines
467 B
Text

# 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;
}
}