100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Bug fix for proxy when using self signed cert
Rich Turner7adfe7fbd5c3
diff --git a/proxy/entrypoint.sh b/proxy/entrypoint.shindex 9165b998c..fb9f64ab6 100644--- a/proxy/entrypoint.sh+++ b/proxy/entrypoint.sh@@ -73,7 +73,7 @@ function run_proxy {log_info "Monitoring config file $HAPROXY_CONFIG and certs in $LE_CERT_ROOT for changes..."# Wait if config or certificates were changed, block this execution- while inotifywait -q -r -e modify,create,delete,move,move_self $HAPROXY_CONFIG "${LE_CERT_ROOT}/${DOMAINNAME}/haproxy.pem"; do+ while inotifywait -q -r --exclude '\.git/' -e modify,create,delete,move,move_self $HAPROXY_CONFIG $LE_CERT_ROOT; dolog_info "Change detected..."sleep 5restart