Add rewrite for www.9iron.club to nginx config

This commit is contained in:
Salt 2021-08-24 00:32:33 -05:00
parent 1fb222fb15
commit d8bf31b144

View File

@ -36,6 +36,15 @@
proxy_pass http://desultd:80;
}
}
server {
listen 443 ssl;
server_name www.9iron.club;
ssl_certificate /etc/letsencrypt/live/desu.ltd/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/desu.ltd/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/desu.ltd/chain.pem;
ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem;
return 301 $scheme://9iron.club$request_uri
}
server {
listen 443 ssl;
server_name 9iron.club;