mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-22 07:53:46 +01:00
Merge pull request #1347 from tobiasge/1331-forwarded-for
Fixes #1331: Added 'forwarded' section Unit config
This commit is contained in:
commit
7ccd618c58
@ -1,16 +1,20 @@
|
|||||||
{
|
{
|
||||||
"listeners": {
|
"listeners": {
|
||||||
"0.0.0.0:8080": {
|
"*:8080": {
|
||||||
"pass": "routes/main"
|
"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"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"[::]:8080": {
|
"*:8081": {
|
||||||
"pass": "routes/main"
|
"pass": "routes/status",
|
||||||
},
|
"forwarded": {
|
||||||
"0.0.0.0:8081": {
|
"client_ip": "X-Forwarded-For",
|
||||||
"pass": "routes/status"
|
"protocol": "X-Forwarded-Proto",
|
||||||
},
|
"source": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
|
||||||
"[::]:8081": {
|
}
|
||||||
"pass": "routes/status"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"routes": {
|
"routes": {
|
||||||
|
Loading…
Reference in New Issue
Block a user