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:
parent
a29b308ba4
commit
9769b10011
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue