From 03eabb9a3d240c3fbde913cea5c05ce800dba7f1 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Mon, 6 Dec 2021 14:31:58 +0100
Subject: [PATCH] Fix sympa API not reachable

---
 docker/sympa/default.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docker/sympa/default.conf b/docker/sympa/default.conf
index 8533116..5538fa1 100644
--- a/docker/sympa/default.conf
+++ b/docker/sympa/default.conf
@@ -24,6 +24,7 @@
         RewriteEngine on
         # Do not redirect static, css and pictures
         RewriteCond %{REQUEST_URI} !^/(static|css|pictures)-sympa/.*
+        RewriteCond %{REQUEST_URI} !^/sympasoap.*
         # Avoid redirect loops
         RewriteCond %{REQUEST_URI} !^/wws.*
         # Prepend wws
@@ -37,6 +38,8 @@
 
         # Hide direct access to /wws with 307 to preserve data and method
         RewriteCond %{REQUEST_URI} ^/wws.*
+        RewriteCond %{REQUEST_URI} !^/(static|css|pictures)-sympa/.*
+        RewriteCond %{REQUEST_URI} !^/sympasoap.*
         RewriteRule /wws(.*) $1 [L,QSA,R=307]
 
         # For debug purposes, uncomment this line
-- 
GitLab