Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-05-17 22:40:59 +0300
committerGitHub <noreply@github.com>2021-05-17 22:40:59 +0300
commitdb51f18c10be0e99cddc7a9506e08d3416feee8b (patch)
tree551545905f8d93588ed05499429b28335be074a5 /lets-encrypt
parent80f2ffd571aa9653747db89b53e21a41a0fb9ebe (diff)
escape * in sed
Diffstat (limited to 'lets-encrypt')
-rw-r--r--lets-encrypt/activate-tls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lets-encrypt/activate-tls.sh b/lets-encrypt/activate-tls.sh
index df72f730..8a8dd1d1 100644
--- a/lets-encrypt/activate-tls.sh
+++ b/lets-encrypt/activate-tls.sh
@@ -240,7 +240,7 @@ ${NONO_PORTS[*]}"
if check_nono_ports "$DEDYNPORT"
then
print_text_in_color "$ICyan" "Changing to port $DEDYNPORT for public access..."
- sed -i "s|VirtualHost *:443|VirtualHost *:$DEDYNPORT|g" "$tls_conf"
+ sed -i "s|VirtualHost \*:443|VirtualHost \*:$DEDYNPORT|g" "$tls_conf"
if restart_webserver
then
msg_box "Congrats! You should now be able to access Nextcloud on: https://$TLSDOMAIN:$DEDYNPORT"