Merge pull request #22 from LordSimal/master

add IPv6 Support for NGINX reverse proxy
Louis Lam 2022-12-09 17:37:14 +08:00 committed by GitHub
commit 0c13aa3a33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

@ -26,6 +26,8 @@ With SSL:
```nginx
server {
listen 443 ssl http2;
# Remove '#' in the next line to enable IPv6
# 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 +48,8 @@ Without SSL:
```nginx
server {
listen 80;
# Remove '#' in the next line to enable IPv6
# listen [::]:80;
server_name sub.domain.com;
location / {
proxy_pass http://localhost:3001;