🚑 Fixes path handling for SSL certificates

parent a475adb9
Pipeline #78109130 passed with stages
in 6 minutes and 27 seconds
...@@ -15,6 +15,6 @@ if bashio::config.true 'ssl'; then ...@@ -15,6 +15,6 @@ if bashio::config.true 'ssl'; then
certfile=$(bashio::config 'certfile') certfile=$(bashio::config 'certfile')
keyfile=$(bashio::config 'keyfile') keyfile=$(bashio::config 'keyfile')
sed -i "s/%%certfile%%/${certfile}/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 sed -i "s#%%keyfile%%#${keyfile}#g" /etc/nginx/nginx.conf
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment