Skip to content

Commit 630c223

Browse files
authored
Update Nginx configuration to use port 6060 (#8780)
1 parent a1c7471 commit 630c223

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/booklore-install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ msg_info "Configure Nginx"
7777
rm -rf /usr/share/nginx/html
7878
ln -s /opt/booklore/booklore-ui/dist/booklore/browser /usr/share/nginx/html
7979
cp /opt/booklore/nginx.conf /etc/nginx/nginx.conf
80-
sed -i "s/listen \${BOOKLORE_PORT};/listen 6060;/" /etc/nginx/nginx.conf
80+
sed -i 's/listen \${BOOKLORE_PORT};/listen 6060;/' /etc/nginx/nginx.conf
81+
sed -i 's/listen \[::\]:${BOOKLORE_PORT};/listen [::]:6060;/' /etc/nginx/nginx.conf
8182
systemctl restart nginx
8283
msg_ok "Configured Nginx"
8384

0 commit comments

Comments
 (0)