1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-12-14 06:19:21 +00:00

test: Add test to cover SSL of path-based routing

This commit is contained in:
Alexander Lieret
2021-08-17 10:51:32 +02:00
committed by Nicolas Duchon
parent 12887a977b
commit e08b3487c9
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
web1:
image: web
expose:
- "81"
environment:
WEB_PORTS: "81"
VIRTUAL_HOST: "www.nginx-proxy.tld"
VIRTUAL_PATH: "/web1/"
VIRTUAL_DEST: "/"
web2:
image: web
expose:
- "82"
environment:
WEB_PORTS: "82"
VIRTUAL_HOST: "www.nginx-proxy.tld"
VIRTUAL_PATH: "/web2/"
VIRTUAL_DEST: "/"
sut:
image: nginxproxy/nginx-proxy:test
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ../lib/ssl/dhparam.pem:/etc/nginx/dhparam/dhparam.pem:ro
- ./certs:/etc/nginx/certs:ro