Skip to content

Commit

Permalink
🚑 Fixes path handling for SSL certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Aug 21, 2019
1 parent a475adb commit 9158a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasmoadmin/rootfs/etc/cont-init.d/nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ if bashio::config.true 'ssl'; then
certfile=$(bashio::config 'certfile')
keyfile=$(bashio::config 'keyfile')

sed -i "s/%%certfile%%/${certfile}/g" /etc/nginx/nginx.conf
sed -i "s/%%keyfile%%/${keyfile}/g" /etc/nginx/nginx.conf
sed -i "s#%%certfile%%#${certfile}#g" /etc/nginx/nginx.conf
sed -i "s#%%keyfile%%#${keyfile}#g" /etc/nginx/nginx.conf
fi

0 comments on commit 9158a94

Please sign in to comment.