mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-12-14 22:39:19 +00:00
test: default cert optional trust
This commit is contained in:
@@ -5,7 +5,7 @@ services:
|
||||
image: nginxproxy/nginx-proxy:test
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./nodefault.certs:/etc/nginx/certs:ro
|
||||
- ./withdefault.certs:/etc/nginx/certs:ro
|
||||
environment:
|
||||
HTTPS_METHOD: nohttp
|
||||
|
||||
@@ -24,3 +24,13 @@ services:
|
||||
environment:
|
||||
WEB_PORTS: "84"
|
||||
VIRTUAL_HOST: missing-cert.nginx-proxy.test
|
||||
|
||||
missing-cert-default-untrusted:
|
||||
image: web
|
||||
expose:
|
||||
- "85"
|
||||
environment:
|
||||
WEB_PORTS: "85"
|
||||
VIRTUAL_HOST: missing-cert.default-untrusted.nginx-proxy.test
|
||||
labels:
|
||||
com.github.nginx-proxy.nginx-proxy.trust-default-cert: "false"
|
||||
|
||||
Reference in New Issue
Block a user