kcal icon indicating copy to clipboard operation
kcal copied to clipboard

HTTPS behind another reverse proxy

Open thremilien opened this issue 3 years ago • 2 comments

Hello, I have deployed your app in a proxmox container and set it up behind a reverse proxy (nginx proxy manager) with SSL connection but when I go on the link, the CSS and the JS doesn't load... if I go directly on the ip adress this works perfectly. There is a screenshot of the chromium error logs in attached files. Can you help me ? unknown

thremilien avatar Feb 09 '22 18:02 thremilien

Hm yeah that kind of makes sense... the asset calls for those assets see HTTP so they create HTTP links instead of HTTPS because the app doesn't know about the proxy.

I haven't used this behind a proxy myself. Does anything in this article help? https://cylab.be/blog/122/using-https-over-a-reverse-proxy-in-laravel

cdubz avatar Feb 09 '22 19:02 cdubz

Hello, this isn't working :( I understood the problem but I don't find any solutions. I have tried the link you send me and another similar but anyone doesn't work. Let me know if you a solution ! I'm available if you need more informations about my setup

thremilien avatar Feb 09 '22 22:02 thremilien