Files
addons/deconz/rootfs/etc/cont-init.d/nginx.sh
Franck Nijhof d0a50b9750 deconz: Refactor (#1476)
* deconz: Refactor

* Disable shellcheck warning

* Fix wiringpi

* Bump version 6.0.0

* fix osram ota

* Revert file & update changelog

* Small bugfixes

* Exclude

Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-07-20 14:01:25 +02:00

7 lines
346 B
Bash

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Configure NGINX for use with deCONZ
# ==============================================================================
ingress_entry=$(bashio::addon.ingress_entry)
sed -i "s#%%ingress_entry%%#${ingress_entry}#g" /etc/nginx/nginx.conf