mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
try to fix nging
This commit is contained in:
parent
b8fd235e51
commit
897af11094
1 changed files with 3 additions and 3 deletions
|
@ -5,10 +5,10 @@ location ^~ __PATH__/ {
|
|||
# Path to source
|
||||
alias __FINALPATH__/public/;
|
||||
|
||||
try_files $uri $uri/ =404;
|
||||
try_files $uri $uri/ index.php?q=;
|
||||
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.+)$ /index.php?q= last;
|
||||
rewrite ^(.+)$ __PATH__/index.php?q= last;
|
||||
}
|
||||
|
||||
# Add headers to serve security related headers
|
||||
|
@ -52,7 +52,7 @@ location ^~ __PATH__/ {
|
|||
}
|
||||
|
||||
location ~* \.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ {
|
||||
try_files $uri __FINALPATH__/index.php$request_uri;
|
||||
try_files $uri __FINALPATH__/public/index.php$request_uri;
|
||||
# Optional: Don't log access to other assets
|
||||
access_log off;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue