Improve nginx

This commit is contained in:
Alexandre
2024-12-02 09:02:32 +01:00
committed by GitHub
parent 58d182add4
commit cb00569a53

View File

@@ -10,7 +10,7 @@ bashio::log.info "Starting NGinx..."
# Check vpn is working
if [ -f /currentip ]; then
exec nginx || nginx -s reload & \
nginx || nginx -s reload & \
while true; do
# Get vpn ip
if ! bashio::config.true 'wireguard_enabled' && bashio::config.true 'openvpn_alt_mode'; then