From 8504299861670266fbd2afcd2f7943f046536a9b Mon Sep 17 00:00:00 2001 From: alexis Date: Mon, 28 Jun 2021 15:22:57 +0200 Subject: [PATCH] Correction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modification nom fichier Correction des lignes 126 à 130 --- .../docker-compose.yml | 10 +++++----- .../modsec-confs/zammad.conf | 0 .../modsec-crs-confs/zammad.conf | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename examples/{reverse-proxy-zammad => zammad}/docker-compose.yml (93%) rename examples/{reverse-proxy-zammad => zammad}/modsec-confs/zammad.conf (100%) rename examples/{reverse-proxy-zammad => zammad}/modsec-crs-confs/zammad.conf (100%) diff --git a/examples/reverse-proxy-zammad/docker-compose.yml b/examples/zammad/docker-compose.yml similarity index 93% rename from examples/reverse-proxy-zammad/docker-compose.yml rename to examples/zammad/docker-compose.yml index a1d4e92..95695f5 100644 --- a/examples/reverse-proxy-zammad/docker-compose.yml +++ b/examples/zammad/docker-compose.yml @@ -123,11 +123,11 @@ services: - 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 - - www.website.com_REVERSE_PROXY_URL_1=/ws - - www.website.com_REVERSE_PROXY_HOST_1=http://zammad-websocket:6042 - - www.website.com_REVERSE_PROXY_WS=yes # used to allow websocket redirect - - www.website.com_REVERSE_PROXY_URL_2=/ - - www.website.com_REVERSE_PROXY_HOST_2=http://zammad-railsserver:3000 + - REVERSE_PROXY_URL_1=/ws + - REVERSE_PROXY_HOST_1=http://zammad-websocket:6042 + - REVERSE_PROXY_WS=yes # used to allow websocket redirect + - REVERSE_PROXY_URL_2=/ + - REVERSE_PROXY_HOST_2=http://zammad-railsserver:3000 - ALLOWED_METHODS=GET|POST|HEAD|PUT|OPTIONS|DELETE|PATCH # All methods allowed by modSecurity used by default in zammad depends_on: - zammad-railsserver diff --git a/examples/reverse-proxy-zammad/modsec-confs/zammad.conf b/examples/zammad/modsec-confs/zammad.conf similarity index 100% rename from examples/reverse-proxy-zammad/modsec-confs/zammad.conf rename to examples/zammad/modsec-confs/zammad.conf diff --git a/examples/reverse-proxy-zammad/modsec-crs-confs/zammad.conf b/examples/zammad/modsec-crs-confs/zammad.conf similarity index 100% rename from examples/reverse-proxy-zammad/modsec-crs-confs/zammad.conf rename to examples/zammad/modsec-crs-confs/zammad.conf