1
0
Fork 0
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:
liberodark 2019-12-10 11:21:13 +01:00 committed by GitHub
parent 1d9ee4cce7
commit f1a46ce4bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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