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
added redirect for staging
Michael Rademaker966dad55de10
diff --git a/haproxy/demo/haproxy-demo.cfg b/haproxy/demo/haproxy-demo.cfgindex 60cc2a20a..484734c32 100644--- a/haproxy/demo/haproxy-demo.cfg+++ b/haproxy/demo/haproxy-demo.cfg@@ -29,6 +29,9 @@ defaultsfrontend httpbind *:80+ #acl is_domain hdr(host) -i test1+ #redirect code 302 location https://localhost/console/nbse if is_domain+# Serve certificate validation challenges directly with Lua pluginacl url_acme_http01 path_beg /.well-known/acme-challenge/http-request use-service lua.acme-http01 if METH_GET url_acme_http01@@ -45,6 +48,9 @@ frontend httpsreqadd X-Forwarded-Proto:\ httpsrspadd Strict-Transport-Security:\ max-age=15768000+ #acl is_domain hdr(host) -i test1+ #redirect code 302 location https://localhost/console/nbse if is_domain+use_backend manager_serverbackend manager_serverdiff --git a/profile/haproxy_dev.yml b/profile/haproxy_dev.ymlindex df398c0ad..bae996538 100644--- a/profile/haproxy_dev.yml+++ b/profile/haproxy_dev.yml@@ -14,4 +14,6 @@ services:- manager_dev:managerports:- "80:80"- - "443:443"\ No newline at end of file+ - "443:443"+ #volumes:+ # - ../haproxy/demo:/etc/haproxy/demo\ No newline at end of file