-
Notifications
You must be signed in to change notification settings - Fork 82
Reverse proxy in DDEV cluster #2999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 5.0
Are you sure you want to change the base?
Conversation
Preview of modified filesPreview of modified Markdown: |
docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md
Outdated
Show resolved
Hide resolved
docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md
Outdated
Show resolved
Hide resolved
| You can see how the `web` server is responding to `varnish`: | ||
|
|
||
| ```console | ||
| % curl -s -H "Surrogate-Capability: abc=ESI/1.0" http://127.0.0.1:<http-web-port>/product-catalog | grep 'esi:include' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO:
Maybe a warning about the fact that the HTTPS (https://127.0.0.1:<https-web-port>) URL probably fails?
But somehow, it shouldn't fail…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a warning about the fact that the HTTPS (
https://127.0.0.1:<https-web-port>) URL probably fails?
But somehow, it shouldn't fail…
For me https is working fine:
% curl -s -H "Surrogate-Capability: abc=ESI/1.0" https://127.0.0.1:<https-web-port>/product-catalog | grep 'esi:include'There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reithor I felt it was coming from my own installation. If i found how to fix it, there still might be something to add somewhere. But, thank you for the good news!
|
@adriendupuis : I tested by runing the following script on an existing project: After this, responses still were showing Could you check/confirm ? and: ^ works for me |
How to add a reverse proxy Varnish or Fastly, into a DDEV cluster.
Preview https://ez-systems-developer-documentation--2999.com.readthedocs.build/en/2999/infrastructure_and_maintenance/clustering/clustering_with_ddev/#install-reverse-proxy
Checklist