Remove additional proxies
This commit is contained in:
parent
7a966bb0a9
commit
a54ce1af0c
|
@ -173,7 +173,7 @@ function matrix_nginx {
|
|||
systemctl restart nginx
|
||||
|
||||
# wait for nginx to start otherwise user add fails later
|
||||
sleep 5
|
||||
sleep 8
|
||||
}
|
||||
|
||||
function matrix_generate_homeserver_file {
|
||||
|
@ -418,6 +418,8 @@ function remove_matrix {
|
|||
remove_onion_service matrix ${MATRIX_PORT}
|
||||
|
||||
sed -i "/location \/matrix {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
||||
sed -i "/location \/matrix-id {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
||||
sed -i "/location \/turn {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
|
||||
systemctl restart nginx
|
||||
|
||||
remove_completion_param install_matrix
|
||||
|
|
Loading…
Reference in New Issue