Tuesday, 6 August 2024

HAProxy with SSL

See this post:https://www.reddit.com/r/selfhosted/comments/16sq2fa/anyone_get_firefly3_to_work_behind_pfsense_haproxy/ This probably isn't the most helpful, but I was successfully able to get Firefly 3 working behind the reverse proxy caddy. I didn't have to rewrite any headers. I only had to set TRUSTED_PROXIES=** as you said you did. (for firefly) Solved. I was able to find a solution in this article: https://discourse.haproxy.org/t/mixed-content-warning-when-using-https/981/9 Specifically, I added "http-response set-header Content-Security-Policy upgrade-insecure-requests" to the "backend pass thru" section for the HAProxy backend server. I believe, if I understand this correctly, it forces HAProxy to scan all page content and replace insecure link references that the page may contain

No comments:

Post a Comment