basilhendroff / truenas-iocage-wordpress

Script to install WordPress in an iocage jail including MariaDB, the PHP scripting language, Caddy, Redis and phpMyAdmin.
GNU General Public License v3.0
6 stars 6 forks source link

Update Caddyfile for 2.5.0+ #20

Closed tschettervictor closed 1 year ago

tschettervictor commented 1 year ago

Since caddy 2.5.0 you need to specify trusted_proxies to the wordpress caddyfile to get the CSS to load properly.

https://caddy.community/t/caddy-behind-a-reverse-proxy-use-wrong-x-forwarded-proto/16487/2