We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b56fb commit 5d75628Copy full SHA for 5d75628
install.sh
@@ -215,8 +215,8 @@ path() {
215
new_ws_path=${new_ws_path:-ws}
216
echo -e "${yellow}×××××××××××××××××××××××${rest}"
217
218
- sed -i "14s|location ~ .* {$|location ~ ^/${new_grpc_path}/(?<port>\\d+)/(.*)$ {|" /etc/nginx/sites-available/$saved_domain
219
- sed -i "28s|location ~ .* {$|location ~ ^/${new_ws_path}/(?<port>\\d+)$ {|" /etc/nginx/sites-available/$saved_domain
+ sed -i "14s|location ~ .* {$|location ~ ^/${new_grpc_path}/(?<port>\\\d+)/(.*)$ {|" /etc/nginx/sites-available/$saved_domain
+ sed -i "28s|location ~ .* {$|location ~ ^/${new_ws_path}/(?<port>\\\d+)$ {|" /etc/nginx/sites-available/$saved_domain
220
221
# Restart Nginx
222
systemctl restart nginx
0 commit comments