mirror of
https://git.myvelabs.com/lab/nginx.git
synced 2025-12-17 21:26:13 +00:00
Update nginx.sh
This commit is contained in:
parent
46d634b439
commit
a7335e5419
1 changed files with 8 additions and 9 deletions
17
nginx.sh
17
nginx.sh
|
|
@ -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} ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue