Frappe Builder - mixed content can't use https (reverse proxy)

Hi, today I came across the same problem, to fix, you can run the following command:

bench --site [site-name] set-config host_name https://site-name-example.com

This updates the site_config.json file located at frappe-bench/sites/[site-name]/site_config.json, adding the host_name key with the correct HTTPS URL.

After making this change, ensure the updates take effect by running:

bench --site [site-name] clear-cache

Or restart bench

For more information about site_config.json and its usage, check the official documentation here:
https://frappeframework.com/docs/user/en/basics/site_config

Hope this helps!

1 Like