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

@@ -18,22 +18,22 @@ services:
- ./web-files:/www:ro
- ./letsencrypt:/etc/letsencrypt
environment:
- SERVER_NAME=app1.website.com app2.website.com app3.website.com # replace with your domains
- SERVER_NAME=app1.example.com app2.example.com app3.example.com # replace with your domains
- MULTISITE=yes
- AUTO_LETS_ENCRYPT=yes
- REDIRECT_HTTP_TO_HTTPS=yes
- DISABLE_DEFAULT_SERVER=yes
- USE_CLIENT_CACHE=yes
- USE_GZIP=yes
- 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
- app3.website.com_SERVE_FILES=no
- app3.website.com_USE_PROXY_CACHE=yes
- app3.website.com_USE_REVERSE_PROXY=yes
- app3.website.com_REVERSE_PROXY_URL=/
- app3.website.com_REVERSE_PROXY_HOST=http://myapp3:3000
- 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
- app3.example.com_SERVE_FILES=no
- app3.example.com_USE_PROXY_CACHE=yes
- app3.example.com_USE_REVERSE_PROXY=yes
- app3.example.com_REVERSE_PROXY_URL=/
- app3.example.com_REVERSE_PROXY_HOST=http://myapp3:3000
networks:
- net1
- net2
@@ -43,7 +43,7 @@ services:
image: php:fpm
restart: always
volumes:
- ./web-files/app1.website.com:/app
- ./web-files/app1.example.com:/app
networks:
- net1
@@ -51,7 +51,7 @@ services:
image: php:fpm
restart: always
volumes:
- ./web-files/app2.website.com:/app
- ./web-files/app2.example.com:/app
networks:
- net2