Too many redirects for WordPress behind Traefik when SSL is enabled
For work I have been setting up a web hosting platform using docker and traefik and have been having an issue with too many redirects when enabling forced ssl in traefik. The following code needs to be added to the bottom of the wp-config.php and will allow this configuration to work properly.