-
Notifications
You must be signed in to change notification settings - Fork 81
Added instructions on how to combine varnish with basic-auth #2526
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
Conversation
6a746b4 to
8171be8
Compare
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.
Thank you Vidar! Just a couple of small suggestions from me
docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md
Outdated
Show resolved
Hide resolved
|
|
||
| ``` yaml | ||
| http_cache: | ||
| purge_servers: [http://myuser:[email protected]:8081] |
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.
| purge_servers: [http://myuser:[email protected]:8081] | |
| purge_servers: [https://myuser:[email protected]:8081] |
Can we suggest using HTTPS by default, for everything?
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.
Yes, we can do that. But open source version of Varnish do not support HTTPS termiation, so I think it makes more sense to always use HTTP for varnish purge servers in or docs.
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.
Good point! My mind always goes to "HTTPS links everywhere", but it makes sense to make an exception when it's expected to see HTTP.
docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md
Outdated
Show resolved
Hide resolved
docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Marek Nocoń <[email protected]>
* Added instructions on how to combine varnish with basic-auth * fixup! Added instructions on how to combine varnish with basic-auth * Apply suggestions from code review Co-authored-by: Marek Nocoń <[email protected]> --------- Co-authored-by: Marek Nocoń <[email protected]>
|
I've also upmerged it to master - thank you for the PR Vidar! |
Instructions on how to provide basic auth credentials in purge request was missing
Checklist