mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-02-05 05:41:39 +01:00
41 lines
935 B
YAML
41 lines
935 B
YAML
services:
|
|
nginx-proxy:
|
|
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"
|