Skip to content

Commit

Permalink
Merge pull request #1384 from MikuuW/only-ipv6-support
Browse files Browse the repository at this point in the history
Add: IPv6-only support => Update docker/nginx-unit.json
  • Loading branch information
tobiasge authored Feb 5, 2025
2 parents d67ed0c + 1aa7423 commit fb7213a
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docker/nginx-unit.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
{
"listeners": {
"*:8080": {
"0.0.0.0:8080": {
"pass": "routes/main",
"forwarded": {
"client_ip": "X-Forwarded-For",
"protocol": "X-Forwarded-Proto",
"source": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
}
},
"*:8081": {
"0.0.0.0:8081": {
"pass": "routes/status",
"forwarded": {
"client_ip": "X-Forwarded-For",
"protocol": "X-Forwarded-Proto",
"source": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
}
},
"[::]:8080": {
"pass": "routes/main",
"forwarded": {
"client_ip": "X-Forwarded-For",
"protocol": "X-Forwarded-Proto",
"source": ["fc00::/7", "fe80::/10"]
}
},
"[::]:8081": {
"pass": "routes/status",
"forwarded": {
"client_ip": "X-Forwarded-For",
"protocol": "X-Forwarded-Proto",
"source": ["fc00::/7", "fe80::/10"]
}
}
},
"routes": {
Expand Down

0 comments on commit fb7213a

Please sign in to comment.