mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2025-08-02 03:06:21 -04:00
pass array as comma separated env
This commit is contained in:
parent
4afec792c4
commit
e31b9494af
3 changed files with 33 additions and 17 deletions
|
@ -5,6 +5,10 @@ set -e
|
|||
FOURGET_PROTO="${FOURGET_PROTO%\"}"
|
||||
FOURGET_PROTO="${FOURGET_PROTO#\"}"
|
||||
|
||||
# make lowercase
|
||||
FOURGET_PROTO=`echo $FOURGET_PROTO | awk '{print tolower($0)}'`
|
||||
|
||||
|
||||
if [ "$FOURGET_PROTO" = "https" ] || [ -f /etc/4get/certs/fullchain.pem ] || [ -f /etc/4get/certs/privkey.pem ]; then
|
||||
echo "Using https configuration"
|
||||
cp /etc/apache2/https.conf /etc/apache2/httpd.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue