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
Debugbar doesn't working in under the HTTPS-HTTP reverse-proxy.
For example,
HTTPS (AWS ELB) ->HTTP (Laravel)
In this case, browser blocked debugbar's css and js on different protocol between https and http.
So, remove protocol prefix at loading css and js, it will success to load these assets.
@barryvdh Yes, Laravel will generate proper URLs. But In my environment, HTTPS connection handles AWS ELB, and transport to EC2 working Laravel (with Apache HTTP) on inside networks.
At this time, Laravel generates http:// URL on route() function, perhaps because of Request::isSecure() returns false. for that reason, browser connecting with https url, but Laravel generated url is http.
In any case, css and js loading path is starting with //, no write ptotocols, I think that there is no need to worry about protocols. What do you think about it?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Debugbar doesn't working in under the HTTPS-HTTP reverse-proxy.
For example,
In this case, browser blocked debugbar's css and js on different protocol between https and http.
So, remove protocol prefix at loading css and js, it will success to load these assets.