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:
likeitneverwentaway 2016-07-11 18:27:25 +02:00 committed by GitHub
parent ae021d0818
commit cf27ba1a3b

View file

@ -5,11 +5,11 @@ location YNH_WWW_PATH {
# Example PHP configuration (remove if not used)
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;
rewrite ^/(YNH_WWW_PATH/img/.*)$ /$1 break;
rewrite ^/(YNH_WWW_PATH/js/.*)$ /$1 break;
rewrite ^/(YNH_WWW_PATH/style/.*)$ /$1 break;
rewrite ^YNH_WWW_PATH/$ YNH_WWW_PATH/index.php last;
rewrite ^YNH_WWW_PATH/(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
#client_max_body_size 50M;