From ae9d3b21de35e1f795f1f5e4bb09d58d56ed5d13 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Fri, 28 Jun 2024 21:23:17 +0200 Subject: [PATCH] Update INSTALL.sh --- INSTALL.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/INSTALL.sh b/INSTALL.sh index 17a793d2..9460cc4f 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -936,8 +936,9 @@ configure_nginx() { ln -s /etc/openpanel/nginx/vhosts/default.conf /etc/nginx/sites-enabled/default # Replace IP_HERE with the value of $current_ip - sed -i "s/listen 80;/listen $current_ip:80;/" /etc/nginx/sites-enabled/default - + #sed -i "s/listen 80;/listen $current_ip:80;/" /etc/nginx/sites-enabled/default + # MAKES PROBLEMS, REWRITE! + # Setting pretty error pages for nginx, but need to add them inside containers also! mkdir /etc/nginx/snippets/ > /dev/null 2>&1