mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-19 00:16:42 +02:00
Update nginx-unit.json with new listeners and forwarded sources
This commit is contained in:
parent
d67ed0c2df
commit
230cd09cb5
@ -1,19 +1,49 @@
|
|||||||
{
|
{
|
||||||
"listeners": {
|
"listeners": {
|
||||||
"*:8080": {
|
"0.0.0.0:8080": {
|
||||||
"pass": "routes/main",
|
"pass": "routes/main",
|
||||||
"forwarded": {
|
"forwarded": {
|
||||||
"client_ip": "X-Forwarded-For",
|
"client_ip": "X-Forwarded-For",
|
||||||
"protocol": "X-Forwarded-Proto",
|
"protocol": "X-Forwarded-Proto",
|
||||||
"source": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
|
"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",
|
"pass": "routes/status",
|
||||||
"forwarded": {
|
"forwarded": {
|
||||||
"client_ip": "X-Forwarded-For",
|
"client_ip": "X-Forwarded-For",
|
||||||
"protocol": "X-Forwarded-Proto",
|
"protocol": "X-Forwarded-Proto",
|
||||||
"source": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
|
"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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user