mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Conf white space cleanup
This commit is contained in:
parent
9edb0645dd
commit
2b023235f2
2 changed files with 22 additions and 20 deletions
|
@ -1,14 +1,18 @@
|
|||
location ^~ __PATH__ {
|
||||
alias __FINALPATH__/public/;
|
||||
try_files $uri $uri/ @firefly;
|
||||
|
||||
index index.php index.htm index.html;
|
||||
|
||||
# Force https
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
try_files $uri $uri/ @firefly;
|
||||
location ~ \.php {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php7.2-fpm-__NAME__.sock;
|
||||
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
|
@ -17,8 +21,6 @@ index index.php index.htm index.html;
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
location @firefly {
|
||||
rewrite /(.*)$ /index.php?/$1 last;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue