mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update Nginx configuration to use port 6060 (#8780)
This commit is contained in:
		@@ -77,7 +77,8 @@ 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
 | 
			
		||||
sed -i 's/listen \${BOOKLORE_PORT};/listen 6060;/' /etc/nginx/nginx.conf
 | 
			
		||||
sed -i 's/listen \[::\]:${BOOKLORE_PORT};/listen [::]:6060;/' /etc/nginx/nginx.conf
 | 
			
		||||
systemctl restart nginx
 | 
			
		||||
msg_ok "Configured Nginx"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user