-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
v5.0.0 on Docker: hostname without protocol in resources #8543
Comments
Update: the problem semmes to be that APP_TRUSTED_PROXIES is ignored, because editing config/trustedproxy.php by hand correct the problem. Anyway in a docker environment this is not the right solution. |
Yes, editing /var/www/html/config/trustedproxy.php and uncommenting |
Hey! copying APP_TRUSTED_PROXIES from ENV to settings has been removed at commit 533649f Diff: removed code: 'proxies' => env('APP_TRUSTED_PROXIES') !== null ?
explode(',', env('APP_TRUSTED_PROXIES')) : '*', Especially for Docker environments we need this ENV settingg Kind Regards |
Yes, can also confirm. Running Snipe-IT through our Snipe-IT Helm Chart behind the nginx ingress controller results in css and js loading issues. Uncommenting the line in trustedproxy.php stated above, works fine. |
This doesn't help me. Editing /var/www/html/config/trustedproxy.php and uncommenting 'proxies' => '*', doesn't fix my problem. It is still here. Any Idea? |
Please confirm you have done the following before posting your bug report:
Describe the bug
In v5.0.0 Docker image in a Rancher2 envirnment with tls-terminating nginx ingress some resources like js and css have the hostname without https://, so they won't load.
APP_URL and TRESTED_PROXIES variable are correctly set, v 4.9.x was working right before the upgrade
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):
The text was updated successfully, but these errors were encountered: