Use wildcard v4 listeners in nginx
This commit is contained in:
parent
1874de7c22
commit
d0814a5657
@ -38,12 +38,12 @@
|
|||||||
- server_names_hash_bucket_size 512
|
- server_names_hash_bucket_size 512
|
||||||
nginx_sites:
|
nginx_sites:
|
||||||
asininetech.com.http:
|
asininetech.com.http:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- server_name asininetech.com
|
- server_name asininetech.com
|
||||||
- return 301 "https://$host$request_uri"
|
- return 301 "https://$host$request_uri"
|
||||||
asininetech.com.https:
|
asininetech.com.https:
|
||||||
- listen 443 ssl http2
|
- listen *:443 ssl http2
|
||||||
- listen [::]:443 ssl http2
|
- listen [::]:443 ssl http2
|
||||||
- server_name asininetech.com
|
- server_name asininetech.com
|
||||||
- root "/srv/www/asininetech.com"
|
- root "/srv/www/asininetech.com"
|
||||||
@ -71,12 +71,12 @@
|
|||||||
fastcgi_pass php;
|
fastcgi_pass php;
|
||||||
}
|
}
|
||||||
entropynet.net.http:
|
entropynet.net.http:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- server_name entropynet.net
|
- server_name entropynet.net
|
||||||
- return 301 "https://$host$request_uri"
|
- return 301 "https://$host$request_uri"
|
||||||
entropynet.net.https:
|
entropynet.net.https:
|
||||||
- listen 443 ssl http2
|
- listen *:443 ssl http2
|
||||||
- listen [::]:443 ssl http2
|
- listen [::]:443 ssl http2
|
||||||
- server_name entropynet.net
|
- server_name entropynet.net
|
||||||
- root "/srv/www/entropynet.net"
|
- root "/srv/www/entropynet.net"
|
||||||
@ -90,12 +90,12 @@
|
|||||||
- resolver 8.8.8.8 valid=300s
|
- resolver 8.8.8.8 valid=300s
|
||||||
- add_header Strict-Transport-Security max-age=31536000
|
- add_header Strict-Transport-Security max-age=31536000
|
||||||
i.asininetech.com.http:
|
i.asininetech.com.http:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- server_name i.asininetech.com
|
- server_name i.asininetech.com
|
||||||
- return 301 "https://$host$request_uri"
|
- return 301 "https://$host$request_uri"
|
||||||
i.asininetech.com.https:
|
i.asininetech.com.https:
|
||||||
- listen 443 ssl http2
|
- listen *:443 ssl http2
|
||||||
- listen [::]:443 ssl http2
|
- listen [::]:443 ssl http2
|
||||||
- server_name i.asininetech.com
|
- server_name i.asininetech.com
|
||||||
- root "/home/tenshi/public_html"
|
- root "/home/tenshi/public_html"
|
||||||
@ -112,8 +112,8 @@
|
|||||||
}
|
}
|
||||||
- add_header Strict-Transport-Security max-age=31536000
|
- add_header Strict-Transport-Security max-age=31536000
|
||||||
sadiqsaif.ca:
|
sadiqsaif.ca:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen 443 ssl
|
- listen *:443 ssl
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- listen [::]:443 ssl
|
- listen [::]:443 ssl
|
||||||
- server_name sadiqsaif.ca
|
- server_name sadiqsaif.ca
|
||||||
@ -126,8 +126,8 @@
|
|||||||
- add_header Strict-Transport-Security max-age=31536000
|
- add_header Strict-Transport-Security max-age=31536000
|
||||||
- return 301 "https://sadiqsaif.com$request_uri"
|
- return 301 "https://sadiqsaif.com$request_uri"
|
||||||
staticsafe.ca:
|
staticsafe.ca:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen 443 ssl
|
- listen *:443 ssl
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- listen [::]:443 ssl
|
- listen [::]:443 ssl
|
||||||
- server_name staticsafe.ca
|
- server_name staticsafe.ca
|
||||||
@ -140,12 +140,12 @@
|
|||||||
- add_header Strict-Transport-Security max-age=31536000
|
- add_header Strict-Transport-Security max-age=31536000
|
||||||
- return 301 "https://sadiqsaif.com$request_uri"
|
- return 301 "https://sadiqsaif.com$request_uri"
|
||||||
twoshadesofbrown.com.http:
|
twoshadesofbrown.com.http:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- server_name twoshadesofbrown.com
|
- server_name twoshadesofbrown.com
|
||||||
- return 301 "https://$host$request_uri"
|
- return 301 "https://$host$request_uri"
|
||||||
twoshadesofbrown.com.https:
|
twoshadesofbrown.com.https:
|
||||||
- listen 443 ssl http2
|
- listen *:443 ssl http2
|
||||||
- listen [::]:443 ssl http2
|
- listen [::]:443 ssl http2
|
||||||
- server_name twoshadesofbrown.com
|
- server_name twoshadesofbrown.com
|
||||||
- root "/srv/www/twoshadesofbrown.com"
|
- root "/srv/www/twoshadesofbrown.com"
|
||||||
@ -173,12 +173,12 @@
|
|||||||
fastcgi_pass php;
|
fastcgi_pass php;
|
||||||
}
|
}
|
||||||
wiki.staticsafe.ca.http:
|
wiki.staticsafe.ca.http:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- server_name wiki.staticsafe.ca
|
- server_name wiki.staticsafe.ca
|
||||||
- return 301 "https://$host$request_uri"
|
- return 301 "https://$host$request_uri"
|
||||||
wiki.staticsafe.ca.https:
|
wiki.staticsafe.ca.https:
|
||||||
- listen 443 ssl http2
|
- listen *:443 ssl http2
|
||||||
- listen [::]:443 ssl http2
|
- listen [::]:443 ssl http2
|
||||||
- server_name wiki.staticsafe.ca
|
- server_name wiki.staticsafe.ca
|
||||||
- root "/srv/www/wiki.staticsafe.ca"
|
- root "/srv/www/wiki.staticsafe.ca"
|
||||||
@ -205,12 +205,12 @@
|
|||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
}
|
}
|
||||||
sadiqsaif.com.http:
|
sadiqsaif.com.http:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- server_name sadiqsaif.com
|
- server_name sadiqsaif.com
|
||||||
- return 301 "https://$host$request_uri"
|
- return 301 "https://$host$request_uri"
|
||||||
sadiqsaif.com.https:
|
sadiqsaif.com.https:
|
||||||
- listen 443 ssl http2
|
- listen *:443 ssl http2
|
||||||
- listen [::]:443 ssl http2
|
- listen [::]:443 ssl http2
|
||||||
- server_name sadiqsaif.com
|
- server_name sadiqsaif.com
|
||||||
- root "/srv/www/sadiqsaif.com"
|
- root "/srv/www/sadiqsaif.com"
|
||||||
@ -224,12 +224,12 @@
|
|||||||
- add_header Strict-Transport-Security max-age=31536000
|
- add_header Strict-Transport-Security max-age=31536000
|
||||||
- error_page 404 /404.html
|
- error_page 404 /404.html
|
||||||
ttrss.sadiqsaif.com.http:
|
ttrss.sadiqsaif.com.http:
|
||||||
- listen 80
|
- listen *:80
|
||||||
- listen [::]:80
|
- listen [::]:80
|
||||||
- server_name ttrss.sadiqsaif.com
|
- server_name ttrss.sadiqsaif.com
|
||||||
- return 301 "https://$host$request_uri"
|
- return 301 "https://$host$request_uri"
|
||||||
ttrss.sadiqsaif.com.https:
|
ttrss.sadiqsaif.com.https:
|
||||||
- listen 443 ssl http2
|
- listen *:443 ssl http2
|
||||||
- listen [::]:443 ssl http2
|
- listen [::]:443 ssl http2
|
||||||
- server_name ttrss.sadiqsaif.com
|
- server_name ttrss.sadiqsaif.com
|
||||||
- root "/srv/www/ttrss.sadiqsaif.com"
|
- root "/srv/www/ttrss.sadiqsaif.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user