Browse Source

Remove additional proxies

Bob Mottram 8 years ago
parent
commit
a54ce1af0c
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/freedombone-app-matrix

+ 3
- 1
src/freedombone-app-matrix View File

@@ -173,7 +173,7 @@ function matrix_nginx {
173 173
     systemctl restart nginx
174 174
 
175 175
     # wait for nginx to start otherwise user add fails later
176
-    sleep 5
176
+    sleep 8
177 177
 }
178 178
 
179 179
 function matrix_generate_homeserver_file {
@@ -418,6 +418,8 @@ function remove_matrix {
418 418
     remove_onion_service matrix ${MATRIX_PORT}
419 419
 
420 420
     sed -i "/location \/matrix {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
421
+    sed -i "/location \/matrix-id {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
422
+    sed -i "/location \/turn {/,/}/d" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
421 423
     systemctl restart nginx
422 424
 
423 425
     remove_completion_param install_matrix