mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
deb12 nginx listen ssl
This commit is contained in:
parent
c74dfde170
commit
ce5fac9b07
2 changed files with 2 additions and 1 deletions
|
@ -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;|$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
|
if [ -f "/etc/roundcube/plugins/password/config.inc.php" ]; then
|
||||||
sed -i "s|'$oldport'|'$port'|g" /etc/roundcube/plugins/password/config.inc.php
|
sed -i "s|'$oldport'|'$port'|g" /etc/roundcube/plugins/password/config.inc.php
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -78,7 +78,7 @@ http {
|
||||||
|
|
||||||
# Vhost
|
# Vhost
|
||||||
server {
|
server {
|
||||||
listen 8083;
|
listen 8083 ssl;
|
||||||
server_name _;
|
server_name _;
|
||||||
root /usr/local/vesta/web;
|
root /usr/local/vesta/web;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue