Nginx proxy on moodle error - too many redirects

Re: [Solved] Nginx proxy on moodle error - too many redirects

by Jose Pablo Pedrosa Dantas -
Number of replies: 0
Go to config.php file, verify if $CFG->wwwroot has https and then add $CFG->sslproxy = true; in the end of the file.


It only works if you have both moodle and proxy on the same server, if they are on different servers, you probably need to add $CFG->reverseproxy=1; as well