Skip to content
Snippets Groups Projects
Commit a54ce1af authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove additional proxies

parent 7a966bb0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment