From d08eec138b3323ab0b21f77bcf6086d15644ec79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Mon, 10 Jun 2024 16:50:43 +0100 Subject: [PATCH] chore: Enable self-signed SSL certificate generation for UI services in iso-prod development files --- misc/dev/docker-compose.autoconf.ui.misc.yml | 1 + misc/dev/docker-compose.autoconf.ui.yml | 1 + misc/dev/docker-compose.ui.misc.yml | 1 + misc/dev/docker-compose.ui.yml | 1 + misc/dev/variables.ui.env | 1 + misc/dev/variables.ui.misc.env | 1 + 6 files changed, 6 insertions(+) diff --git a/misc/dev/docker-compose.autoconf.ui.misc.yml b/misc/dev/docker-compose.autoconf.ui.misc.yml index 1f8b8cdae..d70c58ccc 100644 --- a/misc/dev/docker-compose.autoconf.ui.misc.yml +++ b/misc/dev/docker-compose.autoconf.ui.misc.yml @@ -125,6 +125,7 @@ services: - "bunkerweb.REVERSE_PROXY_URL=/admin" - "bunkerweb.REVERSE_PROXY_HOST=http://bw-ui:7000" - "bunkerweb.INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504" + - "bunkerweb.GENERATE_SELF_SIGNED_SSL=yes" - bunkerweb.CUSTOM_CONF_MODSEC_CRS_ip-host=SecRuleRemoveById 920350 bw-db: diff --git a/misc/dev/docker-compose.autoconf.ui.yml b/misc/dev/docker-compose.autoconf.ui.yml index fb2ca5ffe..cad841b1f 100644 --- a/misc/dev/docker-compose.autoconf.ui.yml +++ b/misc/dev/docker-compose.autoconf.ui.yml @@ -122,6 +122,7 @@ services: - "bunkerweb.REVERSE_PROXY_URL=/admin" - "bunkerweb.REVERSE_PROXY_HOST=http://bw-ui:7000" - "bunkerweb.INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504" + - "bunkerweb.GENERATE_SELF_SIGNED_SSL=yes" bw-db: image: mariadb:11 diff --git a/misc/dev/docker-compose.ui.misc.yml b/misc/dev/docker-compose.ui.misc.yml index dc0b30ef4..634def090 100644 --- a/misc/dev/docker-compose.ui.misc.yml +++ b/misc/dev/docker-compose.ui.misc.yml @@ -34,6 +34,7 @@ services: - www.example.com_REVERSE_PROXY_URL=/admin - www.example.com_REVERSE_PROXY_HOST=http://bw-ui:7000 - www.example.com_INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504 + - www.example.com_GENERATE_SELF_SIGNED_SSL=yes - www.example.com_CUSTOM_CONF_MODSEC_CRS_ip-host=SecRuleRemoveById 920350 - app1.example.com_USE_REVERSE_PROXY=yes - app1.example.com_REVERSE_PROXY_URL=/ diff --git a/misc/dev/docker-compose.ui.yml b/misc/dev/docker-compose.ui.yml index 573117632..348bc3d77 100644 --- a/misc/dev/docker-compose.ui.yml +++ b/misc/dev/docker-compose.ui.yml @@ -32,6 +32,7 @@ services: - www.example.com_REVERSE_PROXY_URL=/admin - www.example.com_REVERSE_PROXY_HOST=http://bw-ui:7000 - www.example.com_INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504 + - www.example.com_GENERATE_SELF_SIGNED_SSL=yes - app1.example.com_USE_REVERSE_PROXY=yes - app1.example.com_REVERSE_PROXY_URL=/ - app1.example.com_REVERSE_PROXY_HOST=http://app1:8080 diff --git a/misc/dev/variables.ui.env b/misc/dev/variables.ui.env index aa1e2ceb3..f6ad56e65 100644 --- a/misc/dev/variables.ui.env +++ b/misc/dev/variables.ui.env @@ -17,3 +17,4 @@ www.example.com_USE_REVERSE_PROXY=yes www.example.com_REVERSE_PROXY_URL=/admin www.example.com_REVERSE_PROXY_HOST=http://127.0.0.1:7000 www.example.com_INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504 +www.example.com_GENERATE_SELF_SIGNED_SSL=yes diff --git a/misc/dev/variables.ui.misc.env b/misc/dev/variables.ui.misc.env index e1daac0a2..6e410140c 100644 --- a/misc/dev/variables.ui.misc.env +++ b/misc/dev/variables.ui.misc.env @@ -18,4 +18,5 @@ www.example.com_USE_REVERSE_PROXY=yes www.example.com_REVERSE_PROXY_URL=/admin www.example.com_REVERSE_PROXY_HOST=http://127.0.0.1:7000 www.example.com_INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504 +www.example.com_GENERATE_SELF_SIGNED_SSL=yes EXTERNAL_PLUGIN_URLS=https://github.com/bunkerity/bunkerweb-plugins/archive/refs/heads/dev.zip