mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
Update nginx.conf
This commit is contained in:
parent
6e2ed9da12
commit
718b2d13fa
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ location __PATH__/ {
|
|||
|
||||
client_max_body_size 1G;
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
Loading…
Add table
Reference in a new issue