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
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} ]