From b926b0db624fccc8f6eb79ceaa5030a0a1372d2e Mon Sep 17 00:00:00 2001 From: bunkerity Date: Fri, 16 Jul 2021 09:40:02 +0200 Subject: [PATCH] examples - use example.com instead of website.com --- examples/autoconf-php/docker-compose.yml | 12 ++++---- .../index.php | 0 .../index.php | 0 .../index.php | 0 .../autoconf-reverse-proxy/docker-compose.yml | 6 ++-- .../basic-website-with-php/docker-compose.yml | 2 +- examples/basic-website-with-php/variables.env | 2 +- examples/behind-traefik/docker-compose.yml | 8 +++--- examples/behind-traefik/traefik/traefik.toml | 4 +-- examples/certbot-cloudflare/certbot-new.sh | 4 +-- .../certbot-cloudflare/docker-compose.yml | 6 ++-- examples/certbot-wildcard/certbot-wildcard.sh | 2 +- examples/certbot-wildcard/docker-compose.yml | 18 ++++++------ .../index.php | 0 .../index.php | 0 examples/clamav/docker-compose.yml | 2 +- examples/crowdsec/docker-compose.yml | 14 +++++----- .../index.php | 0 .../index.php | 0 examples/ghost/docker-compose.yml | 4 +-- examples/gogs/docker-compose.yml | 2 +- examples/hardened/docker-compose.yml | 2 +- examples/joomla/docker-compose.yml | 2 +- examples/load-balancer/docker-compose.yml | 2 +- examples/moodle/docker-compose.yml | 4 +-- examples/multisite-basic/docker-compose.yml | 24 ++++++++-------- .../index.php | 0 .../index.php | 0 .../docker-compose.yml | 26 ++++++++--------- .../nextcloud.conf | 0 .../wordpress.conf | 0 .../nextcloud.conf | 0 .../wordpress.conf | 0 .../nextcloud.conf | 2 +- .../permalinks.conf | 0 .../web-files/index.php | 0 .../index.php | 0 .../Dockerfile | 0 .../another-folder/index.php | 0 .../docker-php-entrypoint | 0 .../docker-compose.yml | 28 +++++++++---------- examples/nextcloud/docker-compose.yml | 2 +- examples/passbolt/docker-compose.yml | 4 +-- examples/prestashop/docker-compose.yml | 6 ++-- examples/redmine/docker-compose.yml | 2 +- .../docker-compose.yml | 12 ++++---- .../docker-compose.yml | 4 +-- .../docker-compose.yml | 2 +- examples/swarm/stack.yml | 8 +++--- examples/syslog/docker-compose.yml | 14 +++++----- .../index.php | 0 .../index.php | 0 examples/tomcat/docker-compose.yml | 2 +- examples/web-ui/docker-compose.yml | 20 ++++++------- examples/wordpress/docker-compose.yml | 2 +- examples/zammad/docker-compose.yml | 2 +- 56 files changed, 128 insertions(+), 128 deletions(-) rename examples/autoconf-php/web-files/{app1.website.com => app1.example.com}/index.php (100%) rename examples/autoconf-php/web-files/{app2.website.com => app2.example.com}/index.php (100%) rename examples/autoconf-php/web-files/{app3.website.com => app3.example.com}/index.php (100%) rename examples/certbot-wildcard/web-files/{app1.website.com => app1.example.com}/index.php (100%) rename examples/certbot-wildcard/web-files/{app2.website.com => app2.example.com}/index.php (100%) rename examples/crowdsec/web-files/{app1.website.com => app1.example.com}/index.php (100%) rename examples/crowdsec/web-files/{app2.website.com => app2.example.com}/index.php (100%) rename examples/multisite-basic/web-files/{app1.website.com => app1.example.com}/index.php (100%) rename examples/multisite-basic/web-files/{app2.website.com => app2.example.com}/index.php (100%) rename examples/multisite-custom-server-confs/modsec-confs/{nc.website.com => nc.example.com}/nextcloud.conf (100%) rename examples/multisite-custom-server-confs/modsec-confs/{wp.website.com => wp.example.com}/wordpress.conf (100%) rename examples/multisite-custom-server-confs/modsec-crs-confs/{nc.website.com => nc.example.com}/nextcloud.conf (100%) rename examples/multisite-custom-server-confs/modsec-crs-confs/{wp.website.com => wp.example.com}/wordpress.conf (100%) rename examples/multisite-custom-server-confs/server-confs/{nc.website.com => nc.example.com}/nextcloud.conf (94%) rename examples/multisite-custom-server-confs/server-confs/{wp.website.com => wp.example.com}/permalinks.conf (100%) rename examples/multisite-custom-subfolders/apps/{app1.website.com => app1.example.com}/web-files/index.php (100%) rename examples/multisite-custom-subfolders/apps/{app2.website.com => app2.example.com}/index.php (100%) rename examples/multisite-custom-subfolders/apps/{app3.website.com => app3.example.com}/Dockerfile (100%) rename examples/multisite-custom-subfolders/apps/{app3.website.com => app3.example.com}/another-folder/index.php (100%) rename examples/multisite-custom-subfolders/apps/{app3.website.com => app3.example.com}/docker-php-entrypoint (100%) rename examples/syslog/web-files/{app1.website.com => app1.example.com}/index.php (100%) rename examples/syslog/web-files/{app2.website.com => app2.example.com}/index.php (100%) diff --git a/examples/autoconf-php/docker-compose.yml b/examples/autoconf-php/docker-compose.yml index f061ded..acd929b 100644 --- a/examples/autoconf-php/docker-compose.yml +++ b/examples/autoconf-php/docker-compose.yml @@ -41,9 +41,9 @@ services: image: php:fpm restart: always volumes: - - ./web-files/app1.website.com:/app + - ./web-files/app1.example.com:/app labels: - - "bunkerized-nginx.SERVER_NAME=app1.website.com" # replace with your domain + - "bunkerized-nginx.SERVER_NAME=app1.example.com" # replace with your domain - "bunkerized-nginx.REMOTE_PHP=myapp1" - "bunkerized-nginx.REMOTE_PHP_PATH=/app" @@ -51,9 +51,9 @@ services: image: php:fpm restart: always volumes: - - ./web-files/app2.website.com:/app + - ./web-files/app2.example.com:/app labels: - - "bunkerized-nginx.SERVER_NAME=app2.website.com" # replace with your domain + - "bunkerized-nginx.SERVER_NAME=app2.example.com" # replace with your domain - "bunkerized-nginx.REMOTE_PHP=myapp2" - "bunkerized-nginx.REMOTE_PHP_PATH=/app" @@ -61,9 +61,9 @@ services: image: php:fpm restart: always volumes: - - ./web-files/app3.website.com:/app + - ./web-files/app3.example.com:/app labels: - - "bunkerized-nginx.SERVER_NAME=app3.website.com" # replace with your domain + - "bunkerized-nginx.SERVER_NAME=app3.example.com" # replace with your domain - "bunkerized-nginx.REMOTE_PHP=myapp3" - "bunkerized-nginx.REMOTE_PHP_PATH=/app" diff --git a/examples/autoconf-php/web-files/app1.website.com/index.php b/examples/autoconf-php/web-files/app1.example.com/index.php similarity index 100% rename from examples/autoconf-php/web-files/app1.website.com/index.php rename to examples/autoconf-php/web-files/app1.example.com/index.php diff --git a/examples/autoconf-php/web-files/app2.website.com/index.php b/examples/autoconf-php/web-files/app2.example.com/index.php similarity index 100% rename from examples/autoconf-php/web-files/app2.website.com/index.php rename to examples/autoconf-php/web-files/app2.example.com/index.php diff --git a/examples/autoconf-php/web-files/app3.website.com/index.php b/examples/autoconf-php/web-files/app3.example.com/index.php similarity index 100% rename from examples/autoconf-php/web-files/app3.website.com/index.php rename to examples/autoconf-php/web-files/app3.example.com/index.php diff --git a/examples/autoconf-reverse-proxy/docker-compose.yml b/examples/autoconf-reverse-proxy/docker-compose.yml index 6e30c97..eac3e28 100644 --- a/examples/autoconf-reverse-proxy/docker-compose.yml +++ b/examples/autoconf-reverse-proxy/docker-compose.yml @@ -44,7 +44,7 @@ services: environment: - NODE_ENV=production labels: - - "bunkerized-nginx.SERVER_NAME=app1.website.com" # replace with your domain + - "bunkerized-nginx.SERVER_NAME=app1.example.com" # replace with your domain - "bunkerized-nginx.REVERSE_PROXY_URL=/" - "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp1:3000" @@ -54,7 +54,7 @@ services: environment: - NODE_ENV=production labels: - - "bunkerized-nginx.SERVER_NAME=app2.website.com" # replace with your domain + - "bunkerized-nginx.SERVER_NAME=app2.example.com" # replace with your domain - "bunkerized-nginx.REVERSE_PROXY_URL=/" - "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp2:3000" @@ -64,7 +64,7 @@ services: environment: - NODE_ENV=production labels: - - "bunkerized-nginx.SERVER_NAME=app3.website.com" # replace with your domain + - "bunkerized-nginx.SERVER_NAME=app3.example.com" # replace with your domain - "bunkerized-nginx.REVERSE_PROXY_URL=/" - "bunkerized-nginx.REVERSE_PROXY_HOST=http://myapp3:3000" diff --git a/examples/basic-website-with-php/docker-compose.yml b/examples/basic-website-with-php/docker-compose.yml index 0e2415c..b3b1540 100644 --- a/examples/basic-website-with-php/docker-compose.yml +++ b/examples/basic-website-with-php/docker-compose.yml @@ -16,7 +16,7 @@ services: - ./web-files:/www:ro - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes diff --git a/examples/basic-website-with-php/variables.env b/examples/basic-website-with-php/variables.env index 0b7a68f..715cae7 100644 --- a/examples/basic-website-with-php/variables.env +++ b/examples/basic-website-with-php/variables.env @@ -1,6 +1,6 @@ HTTP_PORT=80 HTTPS_PORT=443 -SERVER_NAME=www.website.com +SERVER_NAME=www.example.com AUTO_LETS_ENCRYPT=yes REDIRECT_HTTP_TO_HTTPS=yes DISABLE_DEFAULT_SERVER=yes diff --git a/examples/behind-traefik/docker-compose.yml b/examples/behind-traefik/docker-compose.yml index 7a1a8bc..54b8317 100644 --- a/examples/behind-traefik/docker-compose.yml +++ b/examples/behind-traefik/docker-compose.yml @@ -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 diff --git a/examples/behind-traefik/traefik/traefik.toml b/examples/behind-traefik/traefik/traefik.toml index 4453d7b..9b535ff 100644 --- a/examples/behind-traefik/traefik/traefik.toml +++ b/examples/behind-traefik/traefik/traefik.toml @@ -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 diff --git a/examples/certbot-cloudflare/certbot-new.sh b/examples/certbot-cloudflare/certbot-new.sh index 29cc94f..a75aee2 100755 --- a/examples/certbot-cloudflare/certbot-new.sh +++ b/examples/certbot-cloudflare/certbot-new.sh @@ -3,8 +3,8 @@ # you need to run it before starting bunkerized-nginx to get the first certificate # edit according to your values -DOMAINS="website.com,*.website.com" -EMAIL="contact@website.com" +DOMAINS="example.com,*.example.com" +EMAIL="contact@example.com" SERVICE="mywww" # ask for the certificate diff --git a/examples/certbot-cloudflare/docker-compose.yml b/examples/certbot-cloudflare/docker-compose.yml index 406890a..2ead17d 100644 --- a/examples/certbot-cloudflare/docker-compose.yml +++ b/examples/certbot-cloudflare/docker-compose.yml @@ -16,10 +16,10 @@ services: - ./web-files:/www:ro - ./letsencrypt:/letsencrypt:ro environment: - - SERVER_NAME=www.website.com # replace with your domain(s) + - SERVER_NAME=www.example.com # replace with your domain(s) - USE_CUSTOM_HTTPS=yes - - CUSTOM_HTTPS_CERT=/letsencrypt/live/website.com/fullchain.pem # replace with your path - - CUSTOM_HTTPS_KEY=/letsencrypt/live/website.com/privkey.pem # replace with your path + - CUSTOM_HTTPS_CERT=/letsencrypt/live/example.com/fullchain.pem # replace with your path + - CUSTOM_HTTPS_KEY=/letsencrypt/live/example.com/privkey.pem # replace with your path - REDIRECT_HTTP_TO_HTTPS=yes - PROXY_REAL_IP=yes # networks from https://www.cloudflare.com/ips-v4/ diff --git a/examples/certbot-wildcard/certbot-wildcard.sh b/examples/certbot-wildcard/certbot-wildcard.sh index 9c12fe8..22b0de3 100755 --- a/examples/certbot-wildcard/certbot-wildcard.sh +++ b/examples/certbot-wildcard/certbot-wildcard.sh @@ -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 diff --git a/examples/certbot-wildcard/docker-compose.yml b/examples/certbot-wildcard/docker-compose.yml index be873d5..9ab8276 100644 --- a/examples/certbot-wildcard/docker-compose.yml +++ b/examples/certbot-wildcard/docker-compose.yml @@ -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 diff --git a/examples/certbot-wildcard/web-files/app1.website.com/index.php b/examples/certbot-wildcard/web-files/app1.example.com/index.php similarity index 100% rename from examples/certbot-wildcard/web-files/app1.website.com/index.php rename to examples/certbot-wildcard/web-files/app1.example.com/index.php diff --git a/examples/certbot-wildcard/web-files/app2.website.com/index.php b/examples/certbot-wildcard/web-files/app2.example.com/index.php similarity index 100% rename from examples/certbot-wildcard/web-files/app2.website.com/index.php rename to examples/certbot-wildcard/web-files/app2.example.com/index.php diff --git a/examples/clamav/docker-compose.yml b/examples/clamav/docker-compose.yml index 609dc8b..0ad75b9 100644 --- a/examples/clamav/docker-compose.yml +++ b/examples/clamav/docker-compose.yml @@ -17,7 +17,7 @@ services: - ./letsencrypt:/etc/letsencrypt - ./bunkerized-nginx-clamav:/plugins/clamav:ro # you will need to download the plugin see download-plugin.sh environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes diff --git a/examples/crowdsec/docker-compose.yml b/examples/crowdsec/docker-compose.yml index 50dda62..5e6e9f2 100644 --- a/examples/crowdsec/docker-compose.yml +++ b/examples/crowdsec/docker-compose.yml @@ -24,7 +24,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 @@ -34,10 +34,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: @@ -69,7 +69,7 @@ services: image: php:fpm restart: always volumes: - - ./web-files/app1.website.com:/app + - ./web-files/app1.example.com:/app networks: - net1 @@ -77,7 +77,7 @@ services: image: php:fpm restart: always volumes: - - ./web-files/app2.website.com:/app + - ./web-files/app2.example.com:/app networks: - net2 diff --git a/examples/crowdsec/web-files/app1.website.com/index.php b/examples/crowdsec/web-files/app1.example.com/index.php similarity index 100% rename from examples/crowdsec/web-files/app1.website.com/index.php rename to examples/crowdsec/web-files/app1.example.com/index.php diff --git a/examples/crowdsec/web-files/app2.website.com/index.php b/examples/crowdsec/web-files/app2.example.com/index.php similarity index 100% rename from examples/crowdsec/web-files/app2.website.com/index.php rename to examples/crowdsec/web-files/app2.example.com/index.php diff --git a/examples/ghost/docker-compose.yml b/examples/ghost/docker-compose.yml index 7736b68..0373d53 100644 --- a/examples/ghost/docker-compose.yml +++ b/examples/ghost/docker-compose.yml @@ -15,7 +15,7 @@ services: volumes: - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes @@ -31,4 +31,4 @@ services: volumes: - ./data-ghost:/var/lib/ghost/content environment: - - url=https://www.website.com # replace with your domain + - url=https://www.example.com # replace with your domain diff --git a/examples/gogs/docker-compose.yml b/examples/gogs/docker-compose.yml index cb40297..c3dd535 100644 --- a/examples/gogs/docker-compose.yml +++ b/examples/gogs/docker-compose.yml @@ -12,7 +12,7 @@ services: - ./letsencrypt:/etc/letsencrypt - ./modsec-crs-confs:/modsec-crs-confs:ro # fix FP with CRS environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes diff --git a/examples/hardened/docker-compose.yml b/examples/hardened/docker-compose.yml index a790074..18507e4 100644 --- a/examples/hardened/docker-compose.yml +++ b/examples/hardened/docker-compose.yml @@ -28,7 +28,7 @@ services: - ./web-files:/www:ro - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes diff --git a/examples/joomla/docker-compose.yml b/examples/joomla/docker-compose.yml index 513b6ce..3307cbc 100644 --- a/examples/joomla/docker-compose.yml +++ b/examples/joomla/docker-compose.yml @@ -16,7 +16,7 @@ services: - ./joomla-files:/www:ro - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes diff --git a/examples/load-balancer/docker-compose.yml b/examples/load-balancer/docker-compose.yml index c7e4d98..c7c024d 100644 --- a/examples/load-balancer/docker-compose.yml +++ b/examples/load-balancer/docker-compose.yml @@ -18,7 +18,7 @@ services: - ./letsencrypt:/etc/letsencrypt - ./http-confs:/http-confs:ro environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes diff --git a/examples/moodle/docker-compose.yml b/examples/moodle/docker-compose.yml index f27168b..ca1e013 100644 --- a/examples/moodle/docker-compose.yml +++ b/examples/moodle/docker-compose.yml @@ -15,7 +15,7 @@ services: volumes: - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes @@ -37,7 +37,7 @@ services: environment: - MOODLE_USERNAME=admin # replace with your moodle admin username - MOODLE_PASSWORD=password # replace with your moodle admin password - - MOODLE_EMAIL=moodle@website.com # replace with your moodle admin email + - MOODLE_EMAIL=moodle@example.com # replace with your moodle admin email - MOODLE_SITE_NAME=My Moodle # replace with your moodle site name - MOODLE_DATABASE_HOST=mydb - MOODLE_DATABASE_NAME=moodle diff --git a/examples/multisite-basic/docker-compose.yml b/examples/multisite-basic/docker-compose.yml index d894590..cc32d61 100644 --- a/examples/multisite-basic/docker-compose.yml +++ b/examples/multisite-basic/docker-compose.yml @@ -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 diff --git a/examples/multisite-basic/web-files/app1.website.com/index.php b/examples/multisite-basic/web-files/app1.example.com/index.php similarity index 100% rename from examples/multisite-basic/web-files/app1.website.com/index.php rename to examples/multisite-basic/web-files/app1.example.com/index.php diff --git a/examples/multisite-basic/web-files/app2.website.com/index.php b/examples/multisite-basic/web-files/app2.example.com/index.php similarity index 100% rename from examples/multisite-basic/web-files/app2.website.com/index.php rename to examples/multisite-basic/web-files/app2.example.com/index.php diff --git a/examples/multisite-custom-server-confs/docker-compose.yml b/examples/multisite-custom-server-confs/docker-compose.yml index 9b911a8..73c22a6 100644 --- a/examples/multisite-custom-server-confs/docker-compose.yml +++ b/examples/multisite-custom-server-confs/docker-compose.yml @@ -20,23 +20,23 @@ services: - ./modsec-confs:/modsec-confs:ro - ./modsec-crs-confs:/modsec-crs-confs:ro environment: - - SERVER_NAME=wp.website.com nc.website.com # replace with your domains + - SERVER_NAME=wp.example.com nc.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 - - wp.website.com_REMOTE_PHP=mywp - - wp.website.com_REMOTE_PHP_PATH=/var/www/html - - nc.website.com_REMOTE_PHP=mync - - nc.website.com_REMOTE_PHP_PATH=/var/www/html - - nc.website.com_LIMIT_REQ_RATE=5r/s - - nc.website.com_LIMIT_REQ_BURST=10 - - nc.website.com_ALLOWED_METHODS=GET|POST|HEAD|COPY|DELETE|LOCK|MKCOL|MOVE|PROPFIND|PROPPATCH|PUT|UNLOCK|OPTIONS - - nc.website.com_X_FRAME_OPTIONS=SAMEORIGIN - - nc.website.com_BAD_BEHAVIOR_STATUS_CODES=400 401 403 405 444 - - nc.website.com_WHITELIST_USER_AGENT=WebDAV + - wp.example.com_REMOTE_PHP=mywp + - wp.example.com_REMOTE_PHP_PATH=/var/www/html + - nc.example.com_REMOTE_PHP=mync + - nc.example.com_REMOTE_PHP_PATH=/var/www/html + - nc.example.com_LIMIT_REQ_RATE=5r/s + - nc.example.com_LIMIT_REQ_BURST=10 + - nc.example.com_ALLOWED_METHODS=GET|POST|HEAD|COPY|DELETE|LOCK|MKCOL|MOVE|PROPFIND|PROPPATCH|PUT|UNLOCK|OPTIONS + - nc.example.com_X_FRAME_OPTIONS=SAMEORIGIN + - nc.example.com_BAD_BEHAVIOR_STATUS_CODES=400 401 403 405 444 + - nc.example.com_WHITELIST_USER_AGENT=WebDAV networks: - net1 - net2 @@ -45,7 +45,7 @@ services: image: wordpress:fpm-alpine restart: always volumes: - - ./web-files/wp.website.com:/var/www/html + - ./web-files/wp.example.com:/var/www/html environment: - WORDPRESS_DB_HOST=mywpdb - WORDPRESS_DB_NAME=wp @@ -72,7 +72,7 @@ services: image: nextcloud:stable-fpm restart: always volumes: - - ./web-files/nc.website.com:/var/www/html + - ./web-files/nc.example.com:/var/www/html environment: - MYSQL_HOST=myncdb - MYSQL_DATABASE=nc diff --git a/examples/multisite-custom-server-confs/modsec-confs/nc.website.com/nextcloud.conf b/examples/multisite-custom-server-confs/modsec-confs/nc.example.com/nextcloud.conf similarity index 100% rename from examples/multisite-custom-server-confs/modsec-confs/nc.website.com/nextcloud.conf rename to examples/multisite-custom-server-confs/modsec-confs/nc.example.com/nextcloud.conf diff --git a/examples/multisite-custom-server-confs/modsec-confs/wp.website.com/wordpress.conf b/examples/multisite-custom-server-confs/modsec-confs/wp.example.com/wordpress.conf similarity index 100% rename from examples/multisite-custom-server-confs/modsec-confs/wp.website.com/wordpress.conf rename to examples/multisite-custom-server-confs/modsec-confs/wp.example.com/wordpress.conf diff --git a/examples/multisite-custom-server-confs/modsec-crs-confs/nc.website.com/nextcloud.conf b/examples/multisite-custom-server-confs/modsec-crs-confs/nc.example.com/nextcloud.conf similarity index 100% rename from examples/multisite-custom-server-confs/modsec-crs-confs/nc.website.com/nextcloud.conf rename to examples/multisite-custom-server-confs/modsec-crs-confs/nc.example.com/nextcloud.conf diff --git a/examples/multisite-custom-server-confs/modsec-crs-confs/wp.website.com/wordpress.conf b/examples/multisite-custom-server-confs/modsec-crs-confs/wp.example.com/wordpress.conf similarity index 100% rename from examples/multisite-custom-server-confs/modsec-crs-confs/wp.website.com/wordpress.conf rename to examples/multisite-custom-server-confs/modsec-crs-confs/wp.example.com/wordpress.conf diff --git a/examples/multisite-custom-server-confs/server-confs/nc.website.com/nextcloud.conf b/examples/multisite-custom-server-confs/server-confs/nc.example.com/nextcloud.conf similarity index 94% rename from examples/multisite-custom-server-confs/server-confs/nc.website.com/nextcloud.conf rename to examples/multisite-custom-server-confs/server-confs/nc.example.com/nextcloud.conf index 547c680..7fbe443 100644 --- a/examples/multisite-custom-server-confs/server-confs/nc.website.com/nextcloud.conf +++ b/examples/multisite-custom-server-confs/server-confs/nc.example.com/nextcloud.conf @@ -4,7 +4,7 @@ location ~ \.php(?:$|/) { try_files $fastcgi_script_name =404; - include /etc/nginx/nc.website.com/fastcgi.conf; + include /etc/nginx/nc.example.com/fastcgi.conf; fastcgi_param SCRIPT_FILENAME /var/www/html/$fastcgi_script_name; fastcgi_param PATH_INFO $path_info; fastcgi_param HTTPS on; diff --git a/examples/multisite-custom-server-confs/server-confs/wp.website.com/permalinks.conf b/examples/multisite-custom-server-confs/server-confs/wp.example.com/permalinks.conf similarity index 100% rename from examples/multisite-custom-server-confs/server-confs/wp.website.com/permalinks.conf rename to examples/multisite-custom-server-confs/server-confs/wp.example.com/permalinks.conf diff --git a/examples/multisite-custom-subfolders/apps/app1.website.com/web-files/index.php b/examples/multisite-custom-subfolders/apps/app1.example.com/web-files/index.php similarity index 100% rename from examples/multisite-custom-subfolders/apps/app1.website.com/web-files/index.php rename to examples/multisite-custom-subfolders/apps/app1.example.com/web-files/index.php diff --git a/examples/multisite-custom-subfolders/apps/app2.website.com/index.php b/examples/multisite-custom-subfolders/apps/app2.example.com/index.php similarity index 100% rename from examples/multisite-custom-subfolders/apps/app2.website.com/index.php rename to examples/multisite-custom-subfolders/apps/app2.example.com/index.php diff --git a/examples/multisite-custom-subfolders/apps/app3.website.com/Dockerfile b/examples/multisite-custom-subfolders/apps/app3.example.com/Dockerfile similarity index 100% rename from examples/multisite-custom-subfolders/apps/app3.website.com/Dockerfile rename to examples/multisite-custom-subfolders/apps/app3.example.com/Dockerfile diff --git a/examples/multisite-custom-subfolders/apps/app3.website.com/another-folder/index.php b/examples/multisite-custom-subfolders/apps/app3.example.com/another-folder/index.php similarity index 100% rename from examples/multisite-custom-subfolders/apps/app3.website.com/another-folder/index.php rename to examples/multisite-custom-subfolders/apps/app3.example.com/another-folder/index.php diff --git a/examples/multisite-custom-subfolders/apps/app3.website.com/docker-php-entrypoint b/examples/multisite-custom-subfolders/apps/app3.example.com/docker-php-entrypoint similarity index 100% rename from examples/multisite-custom-subfolders/apps/app3.website.com/docker-php-entrypoint rename to examples/multisite-custom-subfolders/apps/app3.example.com/docker-php-entrypoint diff --git a/examples/multisite-custom-subfolders/docker-compose.yml b/examples/multisite-custom-subfolders/docker-compose.yml index bd3953f..2285427 100644 --- a/examples/multisite-custom-subfolders/docker-compose.yml +++ b/examples/multisite-custom-subfolders/docker-compose.yml @@ -19,33 +19,33 @@ services: - ./letsencrypt:/etc/letsencrypt environment: - MULTISITE=yes - - 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 - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes - AUTO_LETS_ENCRYPT=yes - USE_CLIENT_CACHE=yes - USE_GZIP=yes - ROOT_SITE_SUBFOLDER=web-files - - app1.website.com_REMOTE_PHP=app1 - - app1.website.com_REMOTE_PHP_PATH=/var/www/html - - app2.website.com_REMOTE_PHP=app2 - - app2.website.com_REMOTE_PHP_PATH=/var/www/html - - app2.website.com_ROOT_SITE_SUBFOLDER= # no subfolder - - app3.website.com_REMOTE_PHP=app3 - - app3.website.com_REMOTE_PHP_PATH=/var/www/html - - app3.website.com_ROOT_SITE_SUBFOLDER=another-folder + - app1.example.com_REMOTE_PHP=app1 + - app1.example.com_REMOTE_PHP_PATH=/var/www/html + - app2.example.com_REMOTE_PHP=app2 + - app2.example.com_REMOTE_PHP_PATH=/var/www/html + - app2.example.com_ROOT_SITE_SUBFOLDER= # no subfolder + - app3.example.com_REMOTE_PHP=app3 + - app3.example.com_REMOTE_PHP_PATH=/var/www/html + - app3.example.com_ROOT_SITE_SUBFOLDER=another-folder app1: image: php:fpm restart: always volumes: - - ./apps/app1.website.com/web-files:/var/www/html # app1 project web root + - ./apps/app1.example.com/web-files:/var/www/html # app1 project web root app1_db: image: mariadb restart: always volumes: - - ./apps/app1.website.com/db-data:/var/lib/mysql # app1 project data + - ./apps/app1.example.com/db-data:/var/lib/mysql # app1 project data environment: - MYSQL_ROOT_PASSWORD=db-root-pwd # replace with a stronger password - MYSQL_DATABASE=app @@ -56,11 +56,11 @@ services: image: php:fpm restart: always volumes: - - ./apps/app2.website.com:/var/www/html # app2 project with no subfolder + - ./apps/app2.example.com:/var/www/html # app2 project with no subfolder app3: - build: apps/app3.website.com/. # project with custom built image + build: apps/app3.example.com/. # project with custom built image image: my-php restart: always volumes: - - ./apps/app3.website.com/another-folder:/var/www/html # app3 project web root + - ./apps/app3.example.com/another-folder:/var/www/html # app3 project web root diff --git a/examples/nextcloud/docker-compose.yml b/examples/nextcloud/docker-compose.yml index 5e5e197..c3f375f 100644 --- a/examples/nextcloud/docker-compose.yml +++ b/examples/nextcloud/docker-compose.yml @@ -19,7 +19,7 @@ services: - ./modsec-crs-confs:/modsec-crs-confs:ro # custom Core Rule Set confs to add Nextcloud exclusions - ./modsec-confs:/modsec-confs:ro # disable some false positive environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes diff --git a/examples/passbolt/docker-compose.yml b/examples/passbolt/docker-compose.yml index 9137cff..5238ea2 100644 --- a/examples/passbolt/docker-compose.yml +++ b/examples/passbolt/docker-compose.yml @@ -17,7 +17,7 @@ services: - ./modsec-crs-confs:/modsec-crs-confs:ro # disable some false positive - ./modsec-confs:/modsec-confs:ro # disable some false positive environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes @@ -38,7 +38,7 @@ services: - DATASOURCES_DEFAULT_PASSWORD=db-user-pwd # replace with a stronger password (must match MYSQL_PASSWORD) - DATASOURCES_DEFAULT_USERNAME=user - DATASOURCES_DEFAULT_DATABASE=passbolt - - APP_FULL_BASE_URL=https://www.website.com # replace with your URL + - APP_FULL_BASE_URL=https://www.example.com # replace with your URL mydb: image: mariadb diff --git a/examples/prestashop/docker-compose.yml b/examples/prestashop/docker-compose.yml index e2f572a..13fde91 100644 --- a/examples/prestashop/docker-compose.yml +++ b/examples/prestashop/docker-compose.yml @@ -15,7 +15,7 @@ services: - ./letsencrypt:/etc/letsencrypt - ./server-confs:/server-confs:ro # custom confs at server context for prestashop environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes @@ -38,10 +38,10 @@ services: - DB_USER=user - DB_PASSWD=db-user-pwd # replace with a stronger password (must match MYSQL_PASSWORD) - PS_INSTALL_AUTO=1 - - PS_DOMAIN=www.website.com # replace with your domain + - PS_DOMAIN=www.example.com # replace with your domain - PS_FOLDER_ADMIN=myadmin # replace with your admin folder - PS_ENABLE_SSL=1 - - ADMIN_MAIL=admin@website.com # replace with your mail + - ADMIN_MAIL=admin@example.com # replace with your mail - ADMIN_PASSWD=admin # replace with a stronger password mydb: diff --git a/examples/redmine/docker-compose.yml b/examples/redmine/docker-compose.yml index ef72518..fff8d46 100644 --- a/examples/redmine/docker-compose.yml +++ b/examples/redmine/docker-compose.yml @@ -15,7 +15,7 @@ services: volumes: - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes diff --git a/examples/reverse-proxy-multisite/docker-compose.yml b/examples/reverse-proxy-multisite/docker-compose.yml index 03c81a8..dd1016d 100644 --- a/examples/reverse-proxy-multisite/docker-compose.yml +++ b/examples/reverse-proxy-multisite/docker-compose.yml @@ -17,7 +17,7 @@ services: - ./letsencrypt:/etc/letsencrypt environment: - MULTISITE=yes - - SERVER_NAME=app1.website.com app2.website.com # replace with your domain + - SERVER_NAME=app1.example.com app2.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes @@ -26,10 +26,10 @@ services: - USE_CLIENT_CACHE=yes - USE_GZIP=yes - USE_REVERSE_PROXY=yes - - app1.website.com_REVERSE_PROXY_URL=/ - - app1.website.com_REVERSE_PROXY_HOST=http://app1:3000 - - app2.website.com_REVERSE_PROXY_URL=/ - - app2.website.com_REVERSE_PROXY_HOST=http://app2 + - app1.example.com_REVERSE_PROXY_URL=/ + - app1.example.com_REVERSE_PROXY_HOST=http://app1:3000 + - app2.example.com_REVERSE_PROXY_URL=/ + - app2.example.com_REVERSE_PROXY_HOST=http://app2 app1: image: node @@ -46,4 +46,4 @@ services: restart: always environment: - PMA_ARBITRARY=1 - - PMA_ABSOLUTE_URI=https://app2.website.com + - PMA_ABSOLUTE_URI=https://app2.example.com diff --git a/examples/reverse-proxy-singlesite/docker-compose.yml b/examples/reverse-proxy-singlesite/docker-compose.yml index 17e5437..b645696 100644 --- a/examples/reverse-proxy-singlesite/docker-compose.yml +++ b/examples/reverse-proxy-singlesite/docker-compose.yml @@ -17,7 +17,7 @@ services: - ./letsencrypt:/etc/letsencrypt - ./server-confs:/server-confs:ro # redirect /app1 and /app2 to /app1/ and /app2/ environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes @@ -46,4 +46,4 @@ services: restart: always environment: - PMA_ARBITRARY=1 - - PMA_ABSOLUTE_URI=https://www.website.com/app2/ # replace with your absolute URI + - PMA_ABSOLUTE_URI=https://www.example.com/app2/ # replace with your absolute URI diff --git a/examples/reverse-proxy-websocket/docker-compose.yml b/examples/reverse-proxy-websocket/docker-compose.yml index af12561..2349368 100644 --- a/examples/reverse-proxy-websocket/docker-compose.yml +++ b/examples/reverse-proxy-websocket/docker-compose.yml @@ -15,7 +15,7 @@ services: volumes: - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes diff --git a/examples/swarm/stack.yml b/examples/swarm/stack.yml index a737d34..1ab04c1 100644 --- a/examples/swarm/stack.yml +++ b/examples/swarm/stack.yml @@ -66,7 +66,7 @@ services: app1: image: php:fpm-alpine volumes: - - /shared/www/app1.website.com:/www + - /shared/www/app1.example.com:/www networks: - net_services deploy: @@ -75,7 +75,7 @@ services: constraints: - "node.role==worker" labels: - - "bunkerized-nginx.SERVER_NAME=app1.website.com" + - "bunkerized-nginx.SERVER_NAME=app1.example.com" - "bunkerized-nginx.REMOTE_PHP=app1" - "bunkerized-nginx.REMOTE_PHP_PATH=/www" @@ -83,7 +83,7 @@ services: image: phpmyadmin:apache environment: - PMA_ARBITRARY=1 - - PMA_ABSOLUTE_URI=https://app2.website.com + - PMA_ABSOLUTE_URI=https://app2.example.com networks: - net_services deploy: @@ -92,7 +92,7 @@ services: constraints: - "node.role==worker" labels: - - "bunkerized-nginx.SERVER_NAME=app2.website.com" + - "bunkerized-nginx.SERVER_NAME=app2.example.com" - "bunkerized-nginx.USE_PROXY_CACHE=yes" - "bunkerized-nginx.USE_REVERSE_PROXY=yes" - "bunkerized-nginx.REVERSE_PROXY_URL=/" diff --git a/examples/syslog/docker-compose.yml b/examples/syslog/docker-compose.yml index b566ffd..5723915 100644 --- a/examples/syslog/docker-compose.yml +++ b/examples/syslog/docker-compose.yml @@ -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 diff --git a/examples/syslog/web-files/app1.website.com/index.php b/examples/syslog/web-files/app1.example.com/index.php similarity index 100% rename from examples/syslog/web-files/app1.website.com/index.php rename to examples/syslog/web-files/app1.example.com/index.php diff --git a/examples/syslog/web-files/app2.website.com/index.php b/examples/syslog/web-files/app2.example.com/index.php similarity index 100% rename from examples/syslog/web-files/app2.website.com/index.php rename to examples/syslog/web-files/app2.example.com/index.php diff --git a/examples/tomcat/docker-compose.yml b/examples/tomcat/docker-compose.yml index dff5f34..f81e4a0 100644 --- a/examples/tomcat/docker-compose.yml +++ b/examples/tomcat/docker-compose.yml @@ -15,7 +15,7 @@ services: volumes: - ./letsencrypt:/etc/letsencrypt environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - SERVE_FILES=no - DISABLE_DEFAULT_SERVER=yes - REDIRECT_HTTP_TO_HTTPS=yes diff --git a/examples/web-ui/docker-compose.yml b/examples/web-ui/docker-compose.yml index d541f33..993bad5 100644 --- a/examples/web-ui/docker-compose.yml +++ b/examples/web-ui/docker-compose.yml @@ -16,21 +16,21 @@ services: - ./letsencrypt:/etc/letsencrypt - autoconf:/etc/nginx environment: - - SERVER_NAME=admin.website.com # replace with your domain + - SERVER_NAME=admin.example.com # replace with your domain - MULTISITE=yes - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes - USE_CLIENT_CACHE=yes - USE_GZIP=yes - - admin.website.com_SERVE_FILES=no - - admin.website.com_USE_AUTH_BASIC=yes - - admin.website.com_AUTH_BASIC_USER=admin # change it to something hard to guess - - admin.website.com_AUTH_BASIC_PASSWORD=admin # change it to something hard to guess - - admin.website.com_USE_REVERSE_PROXY=yes - - admin.website.com_REVERSE_PROXY_URL=/admin/ # change it to something hard to guess - - admin.website.com_REVERSE_PROXY_HOST=http://myui:5000/ - - admin.website.com_USE_MODSECURITY=no + - admin.example.com_SERVE_FILES=no + - admin.example.com_USE_AUTH_BASIC=yes + - admin.example.com_AUTH_BASIC_USER=admin # change it to something hard to guess + - admin.example.com_AUTH_BASIC_PASSWORD=admin # change it to something hard to guess + - admin.example.com_USE_REVERSE_PROXY=yes + - admin.example.com_REVERSE_PROXY_URL=/admin/ # change it to something hard to guess + - admin.example.com_REVERSE_PROXY_HOST=http://myui:5000/ + - admin.example.com_USE_MODSECURITY=no labels: - "bunkerized-nginx.UI" @@ -42,7 +42,7 @@ services: volumes: - autoconf:/etc/nginx environment: - - ABSOLUTE_URI=https://admin.website.com/admin/ # change it to your full URI + - ABSOLUTE_URI=https://admin.example.com/admin/ # change it to your full URI - DOCKER_HOST=tcp://myuiproxy:2375 myuiproxy: diff --git a/examples/wordpress/docker-compose.yml b/examples/wordpress/docker-compose.yml index 0e0b253..d4edda3 100644 --- a/examples/wordpress/docker-compose.yml +++ b/examples/wordpress/docker-compose.yml @@ -19,7 +19,7 @@ services: - ./modsec-crs-confs:/modsec-crs-confs:ro # custom Core Rule Set confs to add Wordpress exclusions - ./modsec-confs:/modsec-confs:ro # avoid some FP with CRS environment: - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - AUTO_LETS_ENCRYPT=yes - REDIRECT_HTTP_TO_HTTPS=yes - DISABLE_DEFAULT_SERVER=yes diff --git a/examples/zammad/docker-compose.yml b/examples/zammad/docker-compose.yml index 95695f5..8aed9fb 100644 --- a/examples/zammad/docker-compose.yml +++ b/examples/zammad/docker-compose.yml @@ -122,7 +122,7 @@ services: - LIMIT_REQ_RATE=20r/s # Number of request allowed per seconds, let him to 20 to don't get code 429 - FEATURE_POLICY= # Need to be allowed to work with Chrome, Brave, Edge - PERMISSIONS_POLICY= # Need to be allowed to work with Chrome, Brave, Edge - - SERVER_NAME=www.website.com # replace with your domain + - SERVER_NAME=www.example.com # replace with your domain - REVERSE_PROXY_URL_1=/ws - REVERSE_PROXY_HOST_1=http://zammad-websocket:6042 - REVERSE_PROXY_WS=yes # used to allow websocket redirect