mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
d1a3c1972f
commit
ae9d3b21de
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user