From b29b05371bc71275c23ea121e8d41f410d5fefd4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 27 Aug 2023 15:03:12 +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 586d14e..1a6b566 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,11 +4,11 @@ location __PATH__/ { # Path to source alias __INSTALL_DIR__/; - #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; index index.php;