examples - use example.com instead of website.com
This commit is contained in:
@@ -21,7 +21,7 @@ services:
|
||||
volumes:
|
||||
- ./web1:/www:ro
|
||||
environment:
|
||||
- SERVER_NAME=app1.website.com
|
||||
- SERVER_NAME=app1.example.com
|
||||
- PROXY_REAL_IP=yes
|
||||
- USE_CLIENT_CACHE=yes
|
||||
- USE_GZIP=yes
|
||||
@@ -30,7 +30,7 @@ services:
|
||||
labels:
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.port=8080'
|
||||
- 'traefik.frontend.rule=Host:app1.website.com' # replace with your domain
|
||||
- 'traefik.frontend.rule=Host:app1.example.com' # replace with your domain
|
||||
|
||||
mywww2:
|
||||
image: bunkerity/bunkerized-nginx
|
||||
@@ -38,7 +38,7 @@ services:
|
||||
volumes:
|
||||
- ./web2:/www:ro
|
||||
environment:
|
||||
- SERVER_NAME=app2.website.com
|
||||
- SERVER_NAME=app2.example.com
|
||||
- PROXY_REAL_IP=yes
|
||||
- USE_CLIENT_CACHE=yes
|
||||
- USE_GZIP=yes
|
||||
@@ -47,7 +47,7 @@ services:
|
||||
labels:
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.port=8080'
|
||||
- 'traefik.frontend.rule=Host:app2.website.com' # replace with your domain
|
||||
- 'traefik.frontend.rule=Host:app2.example.com' # replace with your domain
|
||||
|
||||
myphp1:
|
||||
image: php:fpm
|
||||
|
||||
@@ -16,12 +16,12 @@ defaultEntryPoints = ["https","http"]
|
||||
|
||||
[docker]
|
||||
endpoint = "unix:///var/run/docker.sock"
|
||||
domain = "website.com"
|
||||
domain = "example.com"
|
||||
watch = true
|
||||
exposedByDefault = false
|
||||
|
||||
[acme]
|
||||
email = "contact@website.com"
|
||||
email = "contact@example.com"
|
||||
storage = "acme.json"
|
||||
entryPoint = "https"
|
||||
onHostRule = true
|
||||
|
||||
Reference in New Issue
Block a user