From a7335e541954206a54bec10982f3daf0a17afb0d Mon Sep 17 00:00:00 2001 From: myve Date: Mon, 17 Mar 2025 01:12:11 +0000 Subject: [PATCH] Update nginx.sh --- nginx.sh | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/nginx.sh b/nginx.sh index 2581a49..58ac785 100644 --- a/nginx.sh +++ b/nginx.sh @@ -1,17 +1,16 @@ #!/usr/bin/env bash -unset backup_port addurl adddomains set -e clear # Fill in the following variables -eff_email_address= # eg, eff@web.com -appname= # eg, nextcloud -subdomain= # eg, cloud -domain= # eg, web.com -adddomains=() # eg, web2.com web3.comf -host= # eg, 127.0.0.1 -port= # eg, 65000 -backup_port= # eg, 65000 (defaults to localhost 127.0.0.1 as host) +eff_email_address=${eff_email_address} # eg, eff@web.com +appname=${appname} # eg, nextcloud +subdomain=${subdomain} # eg, cloud +domain=${domain} # eg, web.com +adddomains=(${adddomains}) # eg, web2.com web3.comf +host=${host} # eg, 127.0.0.1 +port=${port} # eg, 65000 +backup_port=${backup_port} # eg, 65000 (defaults to localhost 127.0.0.1 as host) # Grab URL if [ ${subdomain} ]