Moodle in English: HAproxy reverse proxy not working from ...
moodle.org › mod › forumAug 27, 2018 · Regardless your HAProxy settings, you can't do what described above: Moodle requires an URI i.e. a unique base path so you need to route any user path to the reverse proxy, denying a direct access to the web server hosting Moodle - unless playing with DNS and two different addresses to route Moodle users based on their IP address.