mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-01 22:35:45 +00:00
feat: Replace path stripping with variable
This commit removes the automatic path stripping and replaces it with a user configurable environment variable. This can be set individually for each container.
This commit is contained in:
committed by
Nicolas Duchon
parent
9df330e51e
commit
4b85e95824
@ -6,6 +6,7 @@ web1:
|
||||
WEB_PORTS: "81"
|
||||
VIRTUAL_HOST: "nginx-proxy.test"
|
||||
VIRTUAL_PATH: "/web1/"
|
||||
VIRTUAL_DEST: "/"
|
||||
|
||||
web2:
|
||||
image: web
|
||||
@ -15,6 +16,8 @@ web2:
|
||||
WEB_PORTS: "82"
|
||||
VIRTUAL_HOST: "nginx-proxy.test"
|
||||
VIRTUAL_PATH: "/web2/"
|
||||
VIRTUAL_DEST: "/"
|
||||
|
||||
sut:
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user