From ce5fac9b07e9a84dc51a89dbd2446d8c61f7c785 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sat, 17 Jun 2023 20:49:36 +0200 Subject: [PATCH] deb12 nginx listen ssl --- bin/v-change-vesta-port | 1 + src/deb/for-download/nginx/nginx-deb12.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/v-change-vesta-port b/bin/v-change-vesta-port index 3f386654..7ea7827e 100755 --- a/bin/v-change-vesta-port +++ b/bin/v-change-vesta-port @@ -41,6 +41,7 @@ is_int_format_valid "$port" 'port number' #----------------------------------------------------------# sed -i "s|$oldport;|$port;|g" $VESTA/nginx/conf/nginx.conf +sed -i "s|$oldport ssl;|$port ssl;|g" $VESTA/nginx/conf/nginx.conf if [ -f "/etc/roundcube/plugins/password/config.inc.php" ]; then sed -i "s|'$oldport'|'$port'|g" /etc/roundcube/plugins/password/config.inc.php fi diff --git a/src/deb/for-download/nginx/nginx-deb12.conf b/src/deb/for-download/nginx/nginx-deb12.conf index 67f5c5bd..cf236824 100644 --- a/src/deb/for-download/nginx/nginx-deb12.conf +++ b/src/deb/for-download/nginx/nginx-deb12.conf @@ -78,7 +78,7 @@ http { # Vhost server { - listen 8083; + listen 8083 ssl; server_name _; root /usr/local/vesta/web; charset utf-8;