Skip to content

Conversation

ddanier
Copy link

@ddanier ddanier commented Jul 22, 2016

We needed to fixate the Host header for Varnish 4.x. As {{normalize_host}} is included in the VCL file after the first (pass) it may be skipped under certain conditions. This happens for example is you use HTTP authentication, which in return will ensure the wrong Host header will be sent to the backend server. So this should be fixed, see the changes to app/code/community/Nexcessnet/Turpentine/misc/version-4.vcl. Be aware that other versions seem to be fine

The merge request in addition includes the necessary changes to set the Host-Header according to the X-Forwarded-Host-Header some frontend proxy may set. This is the case for Apache for example. This way you can enable host normalization and still allow multisite setups.
(In our case: Apache -> Varnish -> Apache -> Magento)

sr972 and others added 23 commits April 6, 2016 12:22
If in System > Config > Web > Add Store Code to URLs is enabled and a custom admin path is set, then Turpentine will not bypass actions in Magento backend.

This PR checks, if the option is set to active and extends the answer by adding the code from store id 0, which is the admin backend store view.
This enables the admin backend director when called as /index.php/admin.
Update version-3.vcl normalisation
Custom Admin Path with Add Store Code to URLs
Fix for issue nexcess#1093 - poll still displaying when module output disabled
Condensed the UA "buckets" down to just "mobile" and "other"
Adds and implements an option to log all commands sent to Varnish
nexcess#1213: Generate global blocks like formkey for ESI-Blocks
@miguelbalparda
Copy link
Contributor

Can you please point this PR to devel instead of master and add some more use cases/info so everybody can fully understand this change?

@ddanier
Copy link
Author

ddanier commented Jul 22, 2016

Ok, I'll close this PR first....I think :)

@ddanier
Copy link
Author

ddanier commented Jul 22, 2016

See #1238 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants