Update nginx.sh

This commit is contained in:
myve 2025-03-17 01:12:11 +00:00
commit a7335e5419

View file

@ -1,17 +1,16 @@
#!/usr/bin/env bash #!/usr/bin/env bash
unset backup_port addurl adddomains
set -e set -e
clear clear
# Fill in the following variables # Fill in the following variables
eff_email_address= # eg, eff@web.com eff_email_address=${eff_email_address} # eg, eff@web.com
appname= # eg, nextcloud appname=${appname} # eg, nextcloud
subdomain= # eg, cloud subdomain=${subdomain} # eg, cloud
domain= # eg, web.com domain=${domain} # eg, web.com
adddomains=() # eg, web2.com web3.comf adddomains=(${adddomains}) # eg, web2.com web3.comf
host= # eg, 127.0.0.1 host=${host} # eg, 127.0.0.1
port= # eg, 65000 port=${port} # eg, 65000
backup_port= # eg, 65000 (defaults to localhost 127.0.0.1 as host) backup_port=${backup_port} # eg, 65000 (defaults to localhost 127.0.0.1 as host)
# Grab URL # Grab URL
if [ ${subdomain} ] if [ ${subdomain} ]