add IPv6 Support for NGINX reverse proxy

Kevin Pfeifer 2022-12-08 11:49:44 +01:00
parent 36674a66ea
commit b5bcd89a7c

@ -26,6 +26,7 @@ With SSL:
```nginx
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name sub.domain.com;
ssl_certificate /path/to/ssl/cert/crt;
ssl_certificate_key /path/to/ssl/key/key;
@ -46,6 +47,7 @@ Without SSL:
```nginx
server {
listen 80;
listen [::]:80;
server_name sub.domain.com;
location / {
proxy_pass http://localhost:3001;