mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Improve nginx
This commit is contained in:
@@ -10,7 +10,7 @@ bashio::log.info "Starting NGinx..."
|
|||||||
|
|
||||||
# Check vpn is working
|
# Check vpn is working
|
||||||
if [ -f /currentip ]; then
|
if [ -f /currentip ]; then
|
||||||
exec nginx || nginx -s reload & \
|
nginx || nginx -s reload & \
|
||||||
while true; do
|
while true; do
|
||||||
# Get vpn ip
|
# Get vpn ip
|
||||||
if ! bashio::config.true 'wireguard_enabled' && bashio::config.true 'openvpn_alt_mode'; then
|
if ! bashio::config.true 'wireguard_enabled' && bashio::config.true 'openvpn_alt_mode'; then
|
||||||
|
|||||||
Reference in New Issue
Block a user