disable http on opscenter
This commit is contained in:
Родитель
31c8069e38
Коммит
3479b6315c
|
@ -126,13 +126,6 @@
|
|||
"publicPort": 22,
|
||||
"protocol": "tcp"
|
||||
},
|
||||
{
|
||||
"enableDirectServerReturn": "False",
|
||||
"endpointName": "HTTP",
|
||||
"privatePort": 8888,
|
||||
"publicPort": 8888,
|
||||
"protocol": "tcp"
|
||||
},
|
||||
{
|
||||
"enableDirectServerReturn": "False",
|
||||
"endpointName": "HTTPS",
|
||||
|
|
|
@ -127,6 +127,9 @@ sed -i '/^\[webserver\]$/,/^\[/ s/^#ssl_keyfile/ssl_keyfile/' /etc/opscenter/ops
|
|||
sed -i '/^\[webserver\]$/,/^\[/ s/^#ssl_certfile/ssl_certfile/' /etc/opscenter/opscenterd.conf
|
||||
sed -i '/^\[webserver\]$/,/^\[/ s/^#ssl_port/ssl_port/' /etc/opscenter/opscenterd.conf
|
||||
|
||||
# Disable HTTP port
|
||||
sed -i '/^\[webserver\]$/,/^\[/ s/^port/#port/' /etc/opscenter/opscenterd.conf
|
||||
|
||||
# Start Ops Center
|
||||
sudo service opscenterd start
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче