]> git.openstreetmap.org Git - chef.git/commitdiff
Revert "community: Fix CSRF issue with monkey patch fix"
authorGrant Slater <github@firefishy.com>
Mon, 23 Dec 2024 11:40:10 +0000 (11:40 +0000)
committerGrant Slater <github@firefishy.com>
Mon, 23 Dec 2024 11:40:10 +0000 (11:40 +0000)
This reverts commit 991ae6ada47ad4cf8c8a8104c400ef1e83c5a9fc.

Fixed upstream.

cookbooks/community/templates/default/web_only.yml.erb

index c62d76a5da48fe37e89d53d9ab197b14745a77ee..5beef48028613719c639700ff74c01e7af6fe50e 100644 (file)
@@ -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;