examples - use example.com instead of website.com

This commit is contained in:
bunkerity
2021-07-16 09:40:02 +02:00
parent 6713f56ec1
commit b926b0db62
56 changed files with 128 additions and 128 deletions

View File

@@ -22,7 +22,7 @@ services:
- ./web-files:/www:ro
- ./letsencrypt:/etc/letsencrypt
environment:
- SERVER_NAME=app1.website.com app2.website.com # replace with your domains
- SERVER_NAME=app1.example.com app2.example.com # replace with your domains
- MULTISITE=yes
- AUTO_LETS_ENCRYPT=yes
- REDIRECT_HTTP_TO_HTTPS=yes
@@ -32,10 +32,10 @@ services:
- USE_CROWDSEC=yes
- CROWDSEC_HOST=http://mycrowdsec:8080
- CROWDSEC_KEY= # you need to generate it (see bouncer_key.sh)
- app1.website.com_REMOTE_PHP=myapp1
- app1.website.com_REMOTE_PHP_PATH=/app
- app2.website.com_REMOTE_PHP=myapp2
- app2.website.com_REMOTE_PHP_PATH=/app
- app1.example.com_REMOTE_PHP=myapp1
- app1.example.com_REMOTE_PHP_PATH=/app
- app2.example.com_REMOTE_PHP=myapp2
- app2.example.com_REMOTE_PHP_PATH=/app
networks:
net0:
net1:
@@ -55,7 +55,7 @@ services:
image: php:fpm
restart: always
volumes:
- ./web-files/app1.website.com:/app
- ./web-files/app1.example.com:/app
networks:
- net1
@@ -63,7 +63,7 @@ services:
image: php:fpm
restart: always
volumes:
- ./web-files/app2.website.com:/app
- ./web-files/app2.example.com:/app
networks:
- net2