mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-04 14:39:19 +08:00
add IPv6 Support for NGINX reverse proxy
@@ -26,7 +26,7 @@ With SSL:
|
||||
```nginx
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
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;
|
||||
@@ -47,7 +47,7 @@ Without SSL:
|
||||
```nginx
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
#listen [::]:80;
|
||||
server_name sub.domain.com;
|
||||
location / {
|
||||
proxy_pass http://localhost:3001;
|
||||
|
Reference in New Issue
Block a user