mirror of
https://github.com/YunoHost-Apps/phplicensewatcher_ynh.git
synced 2024-09-03 19:56:32 +02:00
Update nginx.conf
This commit is contained in:
parent
0c1282f238
commit
a7eb1dae4d
1 changed files with 5 additions and 8 deletions
|
@ -1,14 +1,11 @@
|
|||
root __FINALPATH__/;
|
||||
index index.php;
|
||||
|
||||
location __PATH__/ {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
include /etc/nginx/fastcgi_params;
|
||||
try_files $uri =404;
|
||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue