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
|
||||
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} ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue