mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
php fix in nginx
This commit is contained in:
parent
efb642d66b
commit
c538d80983
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ location __PATH__ {
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php7.1-fpm-__NAME__.sock;
|
fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock;
|
||||||
|
|
||||||
# If you don't use a dedicated fpm config for your app,
|
# If you don't use a dedicated fpm config for your app,
|
||||||
# use a general fpm pool.
|
# use a general fpm pool.
|
||||||
|
|
Loading…
Reference in a new issue