From 444cbc2aa1762b1285392b41fed915d176ea46f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sun, 24 Aug 2025 18:29:40 +0200 Subject: [PATCH] BookLore: Fix Nginx config (#7155) --- install/booklore-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/booklore-install.sh b/install/booklore-install.sh index 1fd49cf6e..a264ca384 100644 --- a/install/booklore-install.sh +++ b/install/booklore-install.sh @@ -51,6 +51,7 @@ cat </opt/booklore_storage/.env DATABASE_URL=jdbc:mariadb://localhost:3306/$DB_NAME DATABASE_USERNAME=$DB_USER DATABASE_PASSWORD=$DB_PASS +BOOKLORE_PORT=6060 BOOKLORE_DATA_PATH=/opt/booklore_storage/data BOOKLORE_BOOKS_PATH=/opt/booklore_storage/books @@ -75,6 +76,7 @@ msg_info "Configure Nginx" rm -rf /usr/share/nginx/html ln -s /opt/booklore/booklore-ui/dist/booklore/browser /usr/share/nginx/html cp /opt/booklore/nginx.conf /etc/nginx/nginx.conf +sed -i "s/listen \${BOOKLORE_PORT};/listen 6060;/" /etc/nginx/nginx.conf systemctl restart nginx msg_ok "Configured Nginx"