]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/community/templates/default/web_only.yml.erb
Revert "community: Fix CSRF issue with monkey patch fix"
[chef.git] / 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;
           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;