mirror of
https://github.com/YunoHost-Apps/phpipam_ynh.git
synced 2024-09-03 19:56:39 +02:00
Update nginx.conf
This commit is contained in:
parent
1d9ee4cce7
commit
f1a46ce4bc
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
root __FINALPATH__/;
|
root __FINALPATH__/;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
try_files $uri $uri/ /index.php?$args;
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
|
@ -8,4 +9,4 @@ location ~ \.php$ {
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include /etc/nginx/fastcgi_params;
|
include /etc/nginx/fastcgi_params;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue