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

@@ -4,7 +4,7 @@
# since it's manual there is no auto renew, you need to run it again before it expires
# replace with your values
DOMAINS="website.com,*.website.com"
DOMAINS="example.com,*.example.com"
SERVICE="mywww"
# ask for wildcard certificate

View File

@@ -17,28 +17,28 @@ services:
- ./web-files:/www:ro
- ./letsencrypt:/letsencrypt:ro
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
- USE_CUSTOM_HTTPS=yes
- CUSTOM_HTTPS_CERT=/letsencrypt/live/website.com/fullchain.pem
- CUSTOM_HTTPS_KEY=/letsencrypt/live/website.com/privkey.pem
- CUSTOM_HTTPS_CERT=/letsencrypt/live/example.com/fullchain.pem
- CUSTOM_HTTPS_KEY=/letsencrypt/live/example.com/privkey.pem
- 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
- 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
myapp1:
image: php:fpm
restart: always
volumes:
- ./web-files/app1.website.com:/app
- ./web-files/app1.example.com:/app
myapp2:
image: php:fpm
restart: always
volumes:
- ./web-files/app2.website.com:/app
- ./web-files/app2.example.com:/app