mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Add support for version 5.0.5
This commit is contained in:
parent
e1d133083b
commit
290d847ba0
1 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
location ^~ __PATH__ {
|
||||
alias __FINALPATH__/public/;
|
||||
alias __FINALPATH__/public;
|
||||
|
||||
index index.php index.htm index.html;
|
||||
index index.php;
|
||||
|
||||
# Force https
|
||||
if ($scheme = http) {
|
||||
|
@ -9,11 +9,11 @@ location ^~ __PATH__ {
|
|||
}
|
||||
|
||||
try_files $uri $uri/ @firefly;
|
||||
location ~ \.php {
|
||||
|
||||
location ~* \.php(?:$|/) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php7.2-fpm-__NAME__.sock;
|
||||
|
||||
fastcgi_index index.php;
|
||||
fastcgi_pass unix:/var/run/php7.3-fpm-__NAME__.sock;
|
||||
fastcgi_param modHeadersAvailable true;
|
||||
include fastcgi_params;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
|
@ -22,5 +22,5 @@ location ^~ __PATH__ {
|
|||
}
|
||||
|
||||
location @firefly {
|
||||
rewrite /(.*)$ /index.php?/$1 last;
|
||||
rewrite /__PATH__/(.*)$ /__PATH__/index.php?/$1 last;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue