1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

moodle-nginx.conf.j2: "fastcgi_read_timeout 300;" etc

This commit is contained in:
root 2021-07-02 12:52:51 -04:00
parent c9ae808a6f
commit cce83897c7

View file

@ -10,15 +10,15 @@ location ~ ^/moodle(.*)\.php(.*)$ {
fastcgi_index index.php;
fastcgi_pass php;
#include fastcgi.conf;
include fastcgi_params;
fastcgi_read_timeout 300; # Default is 60s
include fastcgi_params; # fastcgi.conf also works
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
#fastcgi_read_timeout 300;
# Uncomment to override /etc/php/<VERSION>/fpm/php.ini (AND .../cli/php.ini)
# Uncomment to override /etc/php/<VERSION>/fpm/php.ini -- FYI Stage 4's
# roles/www_options/tasks/main.yml FORCES these same settings and more
# (equivalent to 'nginx_high_php_limits: True') when 'moodle_install: True'
#fastcgi_param PHP_VALUE "max_execution_time=300\n upload_max_filesize=500M\n post_max_size=500M\n max_input_vars=5000";
}