From b3160a9a82a4e11d140f6761cf7dcb0198b0d3ea Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 15 Oct 2020 12:54:56 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9256c53..3b3ecc8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,11 +6,11 @@ location __PATH__/ { index index.php; - 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; + #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; # Common parameter to increase upload size limit in conjuction with dedicated php-fpm file #client_max_body_size 50M;