mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
fix nginx config
This commit is contained in:
parent
dbcd034180
commit
efc2e54b14
1 changed files with 1 additions and 8 deletions
|
@ -5,14 +5,7 @@ location ^~ __PATH__/ {
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/public/ ;
|
alias __FINALPATH__/public/ ;
|
||||||
|
|
||||||
location __PATH__/ {
|
try_files $uri $uri/ =404;
|
||||||
try_files $uri $uri/ =404;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Force usage of https
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!-e $request_filename) {
|
if (!-e $request_filename) {
|
||||||
rewrite ^(.+)$ /index.php?q= last;
|
rewrite ^(.+)$ /index.php?q= last;
|
||||||
|
|
Loading…
Add table
Reference in a new issue