mirror of
https://github.com/jbowdre/library-syncer.git
synced 2024-12-04 13:32:18 +00:00
fix for variable name mismatch, remove trailing space from heredoc EOF
This commit is contained in:
parent
68c5515294
commit
073f8694f5
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ chmod 0644 $CRONTAB_FILE
|
||||||
if [ "$TLS_NAME" != "" ]; then
|
if [ "$TLS_NAME" != "" ]; then
|
||||||
if [ "$TLS_CUSTOM_CERT" == "true" ]; then
|
if [ "$TLS_CUSTOM_CERT" == "true" ]; then
|
||||||
cat << EOF > /etc/caddy/Caddyfile
|
cat << EOF > /etc/caddy/Caddyfile
|
||||||
$TLS_FQDN {
|
$TLS_NAME {
|
||||||
root * /syncer/library
|
root * /syncer/library
|
||||||
file_server
|
file_server
|
||||||
tls /etc/caddycerts/cert.pem /etc/caddycerts/key.pem
|
tls /etc/caddycerts/cert.pem /etc/caddycerts/key.pem
|
||||||
|
@ -24,7 +24,7 @@ $TLS_FQDN {
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
cat << EOF > /etc/caddy/Caddyfile
|
cat << EOF > /etc/caddy/Caddyfile
|
||||||
$TLS_FQDN {
|
$TLS_NAME {
|
||||||
root * /syncer/library
|
root * /syncer/library
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue