change wiki.staticsafe.ca vhosts to wiki.packetcat.ca

This commit is contained in:
packetcat 2022-07-16 15:20:50 -04:00
parent 0a1133cebd
commit 774f1b5276
1 changed files with 7 additions and 7 deletions

View File

@ -77,19 +77,19 @@
- ssl_certificate_key "/etc/ssl/letsencrypt/twoshadesofbrown.com.pem"
- include snippets/sslstapling_hsts.conf
- include snippets/wp_with_supercache.conf
wiki.staticsafe.ca.http:
wiki.packetcat.ca.http:
- listen *:80
- listen [::]:80
- server_name wiki.staticsafe.ca
- server_name wiki.packetcat.ca
- return 301 "https://$host$request_uri"
wiki.staticsafe.ca.https:
wiki.packetcat.ca.https:
- listen *:443 ssl http2
- listen [::]:443 ssl http2
- server_name wiki.staticsafe.ca
- root "/srv/www/wiki.staticsafe.ca"
- server_name wiki.packetcat.ca
- root "/srv/www/wiki.packetcat.ca"
- index index.php
- access_log "/var/log/nginx/wiki.staticsafe.ca.access.log"
- error_log "/var/log/nginx/wiki.staticsafe.ca.error.log"
- access_log "/var/log/nginx/wiki.packetcat.ca.access.log"
- error_log "/var/log/nginx/wiki.packetcat.ca.error.log"
- ssl_certificate "/etc/ssl/letsencrypt/wiki.staticsafe.ca.crt"
- ssl_certificate_key "/etc/ssl/letsencrypt/wiki.staticsafe.ca.pem"
- include snippets/sslstapling_hsts.conf