1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/BicBucStriim_ynh.git synced 2024-09-03 18:15:53 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2021-07-07 10:57:55 +02:00
parent a29b308ba4
commit 9769b10011

View file

@ -9,9 +9,15 @@ location __PATH__/ {
rewrite ^ https://$server_name$request_uri? permanent;
}
rewrite ^/(__PATH__/img/.*)$ /$1 break;
rewrite ^/(__PATH__/js/.*)$ /$1 break;
rewrite ^/(__PATH__/style/.*)$ /$1 break;
rewrite ^/__PATH__/$ /__PATH__/index.php last;
rewrite ^/__PATH__/(admin/authors|authorslist|login|logout|metadata|search|series|serieslist|tags|tagslist|titles|titleslist|opds)/.*$ /__PATH__/index.php last;
index index.php;
try_files $uri $uri/ index.php;
#try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;