Remove additional proxies

This commit is contained in:
Bob Mottram 2016-12-31 12:10:12 +00:00
parent 7a966bb0a9
commit a54ce1af0c
1 changed files with 3 additions and 1 deletions

View File

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