mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 17:58:16 +00:00
Co-authored-by: Nicolas Duchon <nicolas.duchon@gmail.com> Co-authored-by: Niek <100143256+SchoNie@users.noreply.github.com>
52 lines
919 B
YAML
52 lines
919 B
YAML
web1:
|
|
image: web
|
|
expose:
|
|
- "81"
|
|
environment:
|
|
WEB_PORTS: "81"
|
|
VIRTUAL_HOST: "web1.nginx-proxy.tld"
|
|
|
|
web2:
|
|
image: web
|
|
expose:
|
|
- "81"
|
|
environment:
|
|
WEB_PORTS: "81"
|
|
VIRTUAL_HOST: "web2.nginx-proxy.tld"
|
|
HSTS: "off"
|
|
|
|
web3:
|
|
image: web
|
|
expose:
|
|
- "81"
|
|
environment:
|
|
WEB_PORTS: "81"
|
|
VIRTUAL_HOST: "web3.nginx-proxy.tld"
|
|
HSTS: "max-age=86400; includeSubDomains; preload"
|
|
|
|
web4:
|
|
image: web
|
|
expose:
|
|
- "81"
|
|
environment:
|
|
WEB_PORTS: "81"
|
|
VIRTUAL_HOST: "web4.nginx-proxy.tld"
|
|
HSTS: "off"
|
|
HTTPS_METHOD: "noredirect"
|
|
|
|
web5:
|
|
image: web
|
|
expose:
|
|
- "81"
|
|
environment:
|
|
WEB_PORTS: "81"
|
|
VIRTUAL_HOST: http3-vhost-enabled.nginx-proxy.tld
|
|
labels:
|
|
com.github.nginx-proxy.nginx-proxy.http3.enable: "true"
|
|
|
|
sut:
|
|
image: nginxproxy/nginx-proxy:test
|
|
volumes:
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- ./certs:/etc/nginx/certs:ro
|