diff --git a/nginx-development.conf b/nginx-development.conf
index 0c92655b1bd54bb857ef25cbb38400aa9f9e2fe4..c6d6f616be8b006bf5fd6039655968b0584d579b 100644
--- a/nginx-development.conf
+++ b/nginx-development.conf
@@ -43,19 +43,14 @@ server {
     }
 
     location /wordpress/ {
-        #proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
-        sub_filter 'http:\/\/192.168.62.15:8000' 'https:\/\/data-reloaded-dev.datalab.erasme.org\/wordpress';
+        proxy_set_header Accept-Encoding "";
+        proxy_pass http://192.168.62.15:8000/;
+
         sub_filter_once off;
         sub_filter_types *;
-        proxy_pass http://192.168.62.15:8000/;
-        # proxy_set_header  X-Real-IP  $remote_addr;
-        # proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
-        #proxy_set_header Host $http_host;
-        # proxy_set_header  Host elastic.datalab.erasme.org;
-        # add_header 'Access-Control-Allow-Origin' '*';
-        # add_header 'Access-Control-Allow-Credentials' 'true';
-        # add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
-        # add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
+    
+        sub_filter 'http:\/\/192.168.62.15:8000' 'https:\/\/data-reloaded-dev.datalab.erasme.org\/wordpress';
+        sub_filter "http://192.168.62.15:8000" "https://data-reloaded-dev.datalab.erasme.org/wordpress";
     }
 
 }
diff --git a/nginx-staging.conf b/nginx-staging.conf
index ddc5cf61370e7d82b252fc0bd6115a841f23583a..388dec45104f2c6284ff58561cc5e6c966172391 100644
--- a/nginx-staging.conf
+++ b/nginx-staging.conf
@@ -43,19 +43,14 @@ server {
     }
 
     location /wordpress/ {
-        #proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
-        sub_filter 'http:\/\/192.168.62.15:8000' 'https:\/\/data-reloaded-rec.datalab.erasme.org\/wordpress';
+        proxy_set_header Accept-Encoding "";
+        proxy_pass http://192.168.62.15:8000/;
+
         sub_filter_once off;
         sub_filter_types *;
-        proxy_pass http://192.168.62.15:8000/;
-        # proxy_set_header  X-Real-IP  $remote_addr;
-        # proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
-        #proxy_set_header Host $http_host;
-        # proxy_set_header  Host elastic.datalab.erasme.org;
-        # add_header 'Access-Control-Allow-Origin' '*';
-        # add_header 'Access-Control-Allow-Credentials' 'true';
-        # add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
-        # add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
+    
+        sub_filter 'http:\/\/192.168.62.15:8000' 'https:\/\/data-reloaded-rec.datalab.erasme.org\/wordpress';
+        sub_filter "http://192.168.62.15:8000" "https://data-reloaded-rec.datalab.erasme.org/wordpress";
     }
 
 }