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:
parent
8466f412ba
commit
e3a52e3181
1 changed files with 3 additions and 5 deletions
|
@ -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)(/.*)$;
|
||||
|
|
Loading…
Add table
Reference in a new issue