1
0
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:
Alexander Lieret
2021-07-06 15:36:06 +02:00
committed by Nicolas Duchon
parent 9df330e51e
commit 4b85e95824
4 changed files with 26 additions and 5 deletions

View File

@ -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: