[gbm-web] redirector: try to debug OSCP daddy issues



commit 5641092876485b761f76ed866a9c48cd2ac29178
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Oct 29 12:28:38 2020 +0100

    redirector: try to debug OSCP daddy issues

 redirector/nginx.conf | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/redirector/nginx.conf b/redirector/nginx.conf
index 18a1e27..1307243 100644
--- a/redirector/nginx.conf
+++ b/redirector/nginx.conf
@@ -7,6 +7,8 @@ events {
     worker_connections  1024;
 }
 
+include /usr/share/nginx/modules-available/*.conf;
+
 http {
     proxy_temp_path /tmp/proxy_temp;
     client_body_temp_path /tmp/client_temp;
@@ -39,14 +41,17 @@ http {
         error_log /dev/stderr;
 
         location / {
-            proxy_hide_header       Set-Cookie;
-            proxy_ignore_headers    Set-Cookie;
-            proxy_set_header        Cookie "";
-
             proxy_set_header Host teams.pages.gitlab.gnome.org;
             proxy_pass https://teams.pages.gitlab.gnome.org:443/Releng/gnome-os-site/;
         }
 
+       location /dbg {
+            echo_duplicate 1 $echo_client_request_headers;
+            echo "\r";
+            echo_read_request_body;
+            echo $request_body;
+       }
+
         location /download/ {
             proxy_intercept_errors on;
             error_page 301 = @s3cache;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]