Skip to content

Commit f142723

Browse files
committed
Revert ipv6 support changes
1 parent 7491d3c commit f142723

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bin/v-change-sys-port

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ check_hestia_demo_mode
5656

5757
# Get original port
5858
LISTEN_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
6262
if [ "$ORIGINAL_PORT" = "$PORT" ]; then

src/deb/nginx/nginx.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)