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:
parent
c9ae808a6f
commit
cce83897c7
1 changed files with 5 additions and 5 deletions
|
@ -10,15 +10,15 @@ location ~ ^/moodle(.*)\.php(.*)$ {
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_pass php;
|
fastcgi_pass php;
|
||||||
|
|
||||||
#include fastcgi.conf;
|
fastcgi_read_timeout 300; # Default is 60s
|
||||||
include fastcgi_params;
|
|
||||||
|
|
||||||
|
include fastcgi_params; # fastcgi.conf also works
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||||
|
|
||||||
#fastcgi_read_timeout 300;
|
# 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
|
||||||
# Uncomment to override /etc/php/<VERSION>/fpm/php.ini (AND .../cli/php.ini)
|
# (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";
|
#fastcgi_param PHP_VALUE "max_execution_time=300\n upload_max_filesize=500M\n post_max_size=500M\n max_input_vars=5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue