You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If production or staging env is behind basic http auth - cache warm up will fail cause it will not get access to the server.
This makes it problematic to test if cache warm up actually works which preparing the website for go live without granting access to general public.
Describe the solution you'd like
One can pass auth configuration to Guzzle Http lib, this way Guzzle will be able to authenticate against password protected magento pages and warm up cache.
Describe alternatives you've considered
Possible alternative is simply always whitelist request coming from the host itself.
Additional context
No additional context except for the fact that Guzzle Http actually supports that feature, one just needs to pass proper config in it.
The text was updated successfully, but these errors were encountered:
Possible alternative is simply always whitelist request coming from the host itself.
just tried that - it is not easy for the env that is behind Fastly, what will be the real container IP when it will hit the host? Is that container IP static? All those are shaky assumptions and better way is to allow passing basic http auth through.
Is your feature request related to a problem? Please describe.
If production or staging env is behind basic http auth - cache warm up will fail cause it will not get access to the server.
This makes it problematic to test if cache warm up actually works which preparing the website for go live without granting access to general public.
Describe the solution you'd like
One can pass
auth
configuration to Guzzle Http lib, this way Guzzle will be able to authenticate against password protected magento pages and warm up cache.Describe alternatives you've considered
Possible alternative is simply always whitelist request coming from the host itself.
Additional context
No additional context except for the fact that Guzzle Http actually supports that feature, one just needs to pass proper config in it.
The text was updated successfully, but these errors were encountered: