1
0
Fork 0
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:
ericgaspar 2021-08-17 17:19:16 +02:00
parent 6e2ed9da12
commit 718b2d13fa
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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;