From 0578a5d0e3acb3ea8d107083d07f07d23b48f62b Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 23 Dec 2024 11:40:10 +0000 Subject: [PATCH] Revert "community: Fix CSRF issue with monkey patch fix" This reverts commit 991ae6ada47ad4cf8c8a8104c400ef1e83c5a9fc. Fixed upstream. --- cookbooks/community/templates/default/web_only.yml.erb | 3 --- 1 file changed, 3 deletions(-) diff --git a/cookbooks/community/templates/default/web_only.yml.erb b/cookbooks/community/templates/default/web_only.yml.erb index c62d76a5d..5beef4802 100644 --- a/cookbooks/community/templates/default/web_only.yml.erb +++ b/cookbooks/community/templates/default/web_only.yml.erb @@ -133,6 +133,3 @@ hooks: resolver <%= @resolvers.join(" ") %>; resolver_timeout 5s; ssl_dhparam /shared/ssl/dhparam.pem; - # FIXME: Workaround CSRF issue. Monkey patch, need proper investigation and fix. - proxy_set_header Host $http_host; - proxy_set_header X-Forwarded-Proto $thescheme; -- 2.39.5