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

+ 2
- 2
src/freedombone-app-matrix View File

@@ -132,8 +132,8 @@ function matrix_nginx {
132 132
     fi
133 133
 
134 134
     if ! grep 'localhost:8448' /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}; then
135
-        sed "s|:443 ssl;|:443 ssl;${matrix_proxy_str}|g" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
136
-        sed "s| default_server;| default_server;${matrix_proxy_str}|g" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
135
+        sed -i "s|:443 ssl;|:443 ssl;${matrix_proxy_str}|g" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
136
+        sed -i "s| default_server;| default_server;${matrix_proxy_str}|g" /etc/nginx/sites-available/${DEFAULT_DOMAIN_NAME}
137 137
     fi
138 138
 
139 139
     systemctl restart nginx