mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Make it work for both root and subpath
This commit is contained in:
parent
1981001131
commit
a160622796
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
location ^~ __PATH__ {
|
||||
alias __FINALPATH__/public;
|
||||
rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location ^~ __PATH__/ {
|
||||
alias __FINALPATH__/public/;
|
||||
|
||||
index index.php;
|
||||
|
||||
|
@ -17,7 +18,7 @@ location ^~ __PATH__ {
|
|||
include fastcgi_params;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
|
Loading…
Add table
Reference in a new issue