diff options
author | Wojtek Kosior <koszko@koszko.org> | 2023-08-05 20:16:23 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2023-08-05 20:16:23 +0200 |
commit | f3ca662bf88213874d52929314f28ddcb6db9443 (patch) | |
tree | c2e5027ae300398a3556e90a5588760b90cc2254 | |
parent | b60f776a1181a52a3831b70efa14046de3817fe4 (diff) | |
download | koszko-org-server-f3ca662bf88213874d52929314f28ddcb6db9443.tar.gz koszko-org-server-f3ca662bf88213874d52929314f28ddcb6db9443.zip |
GDPR "fix"
-rw-r--r-- | container.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/container.scm b/container.scm index 7af2a25..4efae03 100644 --- a/container.scm +++ b/container.scm @@ -227,7 +227,10 @@ (koszko-httpd-site-conf (name-and-aliases (list "hydrillabugs.koszko.org" "hachettebugs.koszko.org")) (body - `(,(httpd-tag 'Proxy '("*") + `(;; GDPR hack + ,(httpd-directive 'Header 'unset 'Set-Cookie) + + ,(httpd-tag 'Proxy '("*") (httpd-directive 'Redirect 'permanent "/projects/hachette" "/projects/haketilo") @@ -328,6 +331,11 @@ (name "proxy_http_module") (file (file-append httpd "/modules/mod_proxy_http.so"))))) +(define %headers-module + (httpd-module + (name "headers_module") + (file (file-append httpd "/modules/mod_headers.so")))) + ;; logio is needed for the '%O' log format directive (define %logio-module (httpd-module @@ -357,6 +365,7 @@ (modules `(,%cgid-module ,%wsgi-module ,@%proxy-http-modules + ,%headers-module ,%logio-module ,@%default-httpd-modules)) (extra-config |