From 19fd75a57d82209fccf125efd43af82b8fc9a5b9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 7 Jul 2021 10:23:39 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3b3ecc8..2fd80f0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -30,3 +30,12 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } + + +#location /bbs/ { +# rewrite __PATH__/(bbs/img/.*)$ /$1 break; +# rewrite __PATH__/(bbs/js/.*)$ /$1 break; +# rewrite __PATH__/(bbs/style/.*)$ /$1 break; +# rewrite __PATH__/bbs/$ /bbs/index.php last; +# rewrite __PATH__/bbs/(admin|authors|authorslist|login|logout|metadata|search|series|serieslist|tags|tagslist|titles|titleslist|opds)/.*$ /bbs/index.php last; + #} \ No newline at end of file