mirror of
https://github.com/YunoHost-Apps/mineweb_ynh.git
synced 2024-09-03 19:45:54 +02:00
try to fix
This commit is contained in:
parent
731cc303f6
commit
860ba3ed76
1 changed files with 10 additions and 8 deletions
|
@ -1,12 +1,14 @@
|
||||||
root __FINAL_PATH__/;
|
root __FINAL_PATH__/;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
try_files $uri $uri/ /index.php?$args;
|
||||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
}
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
|
location ~ \.php$ {
|
||||||
include /etc/nginx/fastcgi_params;
|
include /etc/nginx/fastcgi_params;
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass 127.0.0.1:9000;
|
||||||
}
|
fastcgi_index index.php;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue