mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
12 lines
449 B
Bash
12 lines
449 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Prepair VLC for ingress access
|
|
# ==============================================================================
|
|
|
|
# Generate NGINX config
|
|
bashio::var.json \
|
|
supervisor_ip "$(getent hosts supervisor | awk '{ print $1 }' | head -1)" \
|
|
| tempio \
|
|
-template /usr/share/tempio/nginx.conf \
|
|
-out /etc/nginx/nginx.conf
|