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
13f9fc66b8
commit
43b7d2563b
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@ location YNH_WWW_PATH {
|
||||||
|
|
||||||
# Example PHP configuration (remove if not used)
|
# Example PHP configuration (remove if not used)
|
||||||
index index.php;
|
index index.php;
|
||||||
|
rewrite ^/(/bbs/img/.*)$ /$1 break;
|
||||||
|
rewrite ^/(/bbs/js/.*)$ /$1 break;
|
||||||
|
rewrite ^/(/bbs/style/.*)$ /$1 break;
|
||||||
|
rewrite ^/bbs/$ /bbs/index.php last;
|
||||||
|
rewrite ^/bbs/(admin|authors|authorslist|login|logout|metadata|search|series|serieslist|tags|tagslist|titles|titleslist|opds)/.*$ /bbs/index.php last;
|
||||||
|
|
||||||
# Common parameter to increase upload size limit in conjuction with dedicated php-fpm file
|
# Common parameter to increase upload size limit in conjuction with dedicated php-fpm file
|
||||||
#client_max_body_size 50M;
|
#client_max_body_size 50M;
|
||||||
|
|
Loading…
Add table
Reference in a new issue