Using the official dockerhub container: mediawiki:1.37.2
DB is official mariadb container (latest, as of today)
$wgServer = "https://development.mysite.com"; $wgCanonicalServer = "https://development.mysite.com"; $wgScriptPath = "/wiki";
Sitting behind: haproxy > varnish > nginx > container
haproxy terminates ssl and redirects http to https
varnish just caches and passes to backend, in this case nginx.
nginx config:
location /wiki/ { proxy_set_header Host development.mysite.com; proxy_set_header X-Forwarded-Proto https; proxy_set_header Access-Control-Allow-Origin: https://development.mysite.com; proxy_pass http://127.0.0.1:32583/; }
container listening on 32583 (that's correct).
Site working perfect on 1.31, as soon as I try to go latest (1.37.2), I see these redirect loops.
So, it just throws 301 after 301 in a loop. Sending the requested url "https://development.mysite.com/wiki/index.php/Main_Page" to the exact same location...
Logs from the container just show exactly that, with no real reason as to why.