1
0
Fork 0
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:
Sebastian Gumprich 2020-12-21 21:30:37 +01:00
parent dbcd034180
commit efc2e54b14

View file

@ -5,14 +5,7 @@ location ^~ __PATH__/ {
# Path to source
alias __FINALPATH__/public/ ;
location __PATH__/ {
try_files $uri $uri/ =404;
}
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q= last;