add sadiqsaif.ca vhost with redirect

This commit is contained in:
packetcat 2022-07-30 18:33:34 -04:00
parent 3f7b3a32af
commit 2abce115ab
1 changed files with 14 additions and 0 deletions

View File

@ -138,6 +138,20 @@
- ssl_certificate "/etc/ssl/letsencrypt/sadiq.ae.crt"
- ssl_certificate_key "/etc/ssl/letsencrypt/sadiq.ae.pem"
- return 301 "https://sadiqsaif.com$request_uri"
sadiqsaif.ca.http:
- listen *:80
- listen [::]:80
- server_name sadiqsaif.ca
- return 301 "https://sadiqsaif.com$request_uri"
sadiqsaif.ca.https:
- listen *:443 ssl http2
- listen [::]:443 ssl http2
- server_name sadiqsaif.ca
- access_log "/var/log/nginx/sadiqsaif.ca.access.log"
- error_log "/var/log/nginx/sadiqsaif.ca.error.log"
- ssl_certificate "/etc/ssl/letsencrypt/sadiqsaif.ca.crt"
- ssl_certificate_key "/etc/ssl/letsencrypt/sadiqsaif.ca.pem"
- return 301 "https://sadiqsaif.com$request_uri"
ttrss.sadiqsaif.com.http:
- listen *:80
- listen [::]:80