mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
21 lines
617 B
Django/Jinja
21 lines
617 B
Django/Jinja
location ~ ^/moodle/dataroot/ {
|
|
internal;
|
|
alias {{ moodle_data }};
|
|
}
|
|
|
|
location ~ ^/moodle(.*)\.php(.*)$ {
|
|
alias {{ moodle_base }}$1.php$2;
|
|
include fastcgi.conf;
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_read_timeout 300;
|
|
fastcgi_pass php;
|
|
fastcgi_index index.php;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
|
fastcgi_param PHP_VALUE "max_execution_time=300\n upload_max_filesize=500M\n post_max_size=500M\n max_input_vars=5000";
|
|
}
|
|
|
|
|
|
location ~ ^/moodle/ {
|
|
root {{ iiab_base }};
|
|
}
|