File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ check_hestia_demo_mode
5656
5757# Get original port
5858LISTEN_ROWS=$( cat ${NGINX_CONFIG} | grep -c " listen" )
59- ORIGINAL_PORT=$( cat ${NGINX_CONFIG} | sed ' s/#IPV4[ \t\ listen[ \t][^0-9]*//g ' | sed ' s/[^0-9]*//g' )
59+ ORIGINAL_PORT=$( cat ${NGINX_CONFIG} | grep -m1 " listen" | sed ' s/[^0-9]*//g' )
6060
6161# Check if port is different to nginx.conf
6262if [ " $ORIGINAL_PORT " = " $PORT " ]; then
Original file line number Diff line number Diff line change @@ -115,8 +115,7 @@ http {
115115
116116 # Vhost
117117 server {
118- #IPV4 listen 8083 ssl;
119- #IPV6 listen [::]:8083 ssl;
118+ listen 8083 ssl ;
120119 server_name _;
121120 root /usr/local/hestia/web;
122121 # Fix error "The plain HTTP request was sent to HTTPS port"
You can’t perform that action at this time.
0 commit comments