[gbm-web] redirector: Strip cookies
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbm-web] redirector: Strip cookies
- Date: Thu, 29 Oct 2020 11:07:52 +0000 (UTC)
commit 82f39dae9d6b5179861a3bb8e4acc40ab9426005
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Oct 29 12:07:30 2020 +0100
redirector: Strip cookies
redirector/nginx.conf | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/redirector/nginx.conf b/redirector/nginx.conf
index 05e47c9..18a1e27 100644
--- a/redirector/nginx.conf
+++ b/redirector/nginx.conf
@@ -39,6 +39,10 @@ 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/;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]