add vhost with redirect for sadiq.ae

This commit is contained in:
packetcat 2022-07-18 18:11:50 -04:00
parent ab893263c8
commit f89dd5ff0d
1 changed files with 14 additions and 0 deletions

View File

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