mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-07 14:57:20 +02:00
Added simple example to nginx for further services (#1766)
This commit is contained in:
parent
80803855be
commit
cd5ce7b745
@ -21,6 +21,18 @@ http {
|
|||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
}
|
}
|
||||||
|
# Add extra locations for other services
|
||||||
|
# location /<service-name> {
|
||||||
|
# proxy_pass http://<service-host>:<port>;
|
||||||
|
# proxy_set_header Host $http_host;
|
||||||
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
|
# # HTTP 1.1 support
|
||||||
|
# proxy_http_version 1.1;
|
||||||
|
# proxy_set_header Connection "";
|
||||||
|
# }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user