-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
3.11, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MDL-71897_add-haproxy-as-recognized-webserver -
To reduce the number of involved parties when handling web traffic, we want to directly load-balance our moodle cluster running on PHP-FPM using HAProxy and the new FastCGI backend in HAProxy 2.1. So instead of handing off the request from HAProxy to the webserver (e.g. Apache or Nginx) and then via FastCGI to PHP-FPM, we relay requests directly from HAProxy to a running PHP-FPM service, reducing overhead. In addition, by separating static content from scripts using PHP-FPM, we can scale them independently as static files are still served via a regular webserver.
STEPS TO REPRODUCE
- Install HAProxy
- Install PHP-FPM
- Configure HAProxy with use-fcgi-app
- Install moodle
WHAT WAS EXPECTED
- Moodle is installed and can be accessed
WHAT ACTUALLY HAPPENS
- The error message "Web server software ({$a}) is not supported, sorry." is shown.
- has been marked as being related by
-
MDL-83391 Remove hard-coded "support" for webservers
-
- Closed
-