Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-06-28 21:23:17 +02:00 committed by GitHub
parent d1a3c1972f
commit ae9d3b21de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -936,7 +936,8 @@ configure_nginx() {
ln -s /etc/openpanel/nginx/vhosts/default.conf /etc/nginx/sites-enabled/default ln -s /etc/openpanel/nginx/vhosts/default.conf /etc/nginx/sites-enabled/default
# Replace IP_HERE with the value of $current_ip # 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! # Setting pretty error pages for nginx, but need to add them inside containers also!
mkdir /etc/nginx/snippets/ > /dev/null 2>&1 mkdir /etc/nginx/snippets/ > /dev/null 2>&1