deb12 nginx listen ssl

This commit is contained in:
myvesta 2023-06-17 20:49:36 +02:00 committed by GitHub
parent c74dfde170
commit ce5fac9b07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -78,7 +78,7 @@ http {
# Vhost
server {
listen 8083;
listen 8083 ssl;
server_name _;
root /usr/local/vesta/web;
charset utf-8;