1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grocy_ynh.git synced 2024-09-03 19:25:54 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2020-12-26 18:55:12 +01:00
parent 8466f412ba
commit e3a52e3181
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -1,5 +1,4 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
location / {
# Path to source
alias __FINALPATH__/public/ ;
@ -11,8 +10,7 @@ location __PATH__/ {
index index.php;
#try_files $uri __PATH__/index.php;
try_files $uri __PATH__/index.php$is_args$query_string;
try_files $uri __PATH__/index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;