Add IPv6 setting to nginx conf (#1582)

* Added IPv6 setting to nginx conf

https://matrix.to/#/!yomrOFwgFXzmeMAbzX:matrix.org/$sIkSxL002BKottY1Fop-bkusuyCJ1Y0zIFzqSWDYRrc?via=matrix.org&via=privacytools.io&via=dendrite.link

* Add IPv6 support to polylith nginx conf also
This commit is contained in:
TR_SLimey 2020-11-18 10:33:17 +00:00 committed by GitHub
parent 35ea55e70b
commit 3bcb003248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
server { server {
listen 443 ssl; listen 443 ssl; # IPv4
listen [::]:443; # IPv6
server_name my.hostname.com; server_name my.hostname.com;
ssl_certificate /path/to/fullchain.pem; ssl_certificate /path/to/fullchain.pem;

View file

@ -1,5 +1,6 @@
server { server {
listen 443 ssl; listen 443 ssl; # IPv4
listen [::]:443; # IPv6
server_name my.hostname.com; server_name my.hostname.com;
ssl_certificate /path/to/fullchain.pem; ssl_certificate /path/to/fullchain.pem;