mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
|
version: "2"
|
||
|
|
||
|
services:
|
||
|
sut:
|
||
|
image: nginxproxy/nginx-proxy:test
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||
|
- ./withdefault.certs:/etc/nginx/certs:ro
|
||
|
environment:
|
||
|
ENABLE_HTTP_ON_MISSING_CERT: "false"
|
||
|
|
||
|
nohttp-missing-cert-disabled:
|
||
|
image: web
|
||
|
expose:
|
||
|
- "81"
|
||
|
environment:
|
||
|
WEB_PORTS: "81"
|
||
|
VIRTUAL_HOST: nohttp-missing-cert-disabled.nginx-proxy.tld
|
||
|
HTTPS_METHOD: nohttp
|
||
|
|
||
|
nohttp-missing-cert-enabled:
|
||
|
image: web
|
||
|
expose:
|
||
|
- "82"
|
||
|
environment:
|
||
|
WEB_PORTS: "82"
|
||
|
VIRTUAL_HOST: nohttp-missing-cert-enabled.nginx-proxy.tld
|
||
|
HTTPS_METHOD: nohttp
|
||
|
ENABLE_HTTP_ON_MISSING_CERT: "true"
|
||
|
|
||
|
redirect-missing-cert-disabled:
|
||
|
image: web
|
||
|
expose:
|
||
|
- "83"
|
||
|
environment:
|
||
|
WEB_PORTS: "83"
|
||
|
VIRTUAL_HOST: redirect-missing-cert-disabled.nginx-proxy.tld
|
||
|
|
||
|
redirect-missing-cert-enabled:
|
||
|
image: web
|
||
|
expose:
|
||
|
- "84"
|
||
|
environment:
|
||
|
WEB_PORTS: "84"
|
||
|
VIRTUAL_HOST: redirect-missing-cert-enabled.nginx-proxy.tld
|
||
|
ENABLE_HTTP_ON_MISSING_CERT: "true"
|