Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated to new deployment flow

Michael Rademakercf1e866266e7
diff --git a/project.gradle b/project.gradle
index 1c439bd44..b2148a8b1 100644
--- a/project.gradle
+++ b/project.gradle
@@ -50,6 +50,11 @@ task bowerUpdate(type: Exec){
standardOutput = new ByteArrayOutputStream()
}
+task polymerBuild(type: Exec){
+ commandLine "polymer", "build"
+ standardOutput = new ByteArrayOutputStream()
+}
+
// Configure Java build
plugins.withType(JavaPlugin).whenPluginAdded {
diff --git a/proxy/haproxy.cfg b/proxy/haproxy.cfg
index bdb3bbf05..855b90529 100644
--- a/proxy/haproxy.cfg
+++ b/proxy/haproxy.cfg
@@ -29,6 +29,9 @@ defaults
frontend http
bind *:80
+ acl is_aanschot path_beg -i /aanschot
+ redirect code 302 location https://eindhoven.openremote.io/console/nbse if is_aanschot
+
# Serve certificate validation challenges directly with Lua plugin
acl url_acme_http01 path_beg /.well-known/acme-challenge/
http-request use-service lua.acme-http01 if METH_GET url_acme_http01
@@ -36,6 +39,9 @@ frontend http
frontend https
+ acl is_aanschot path_beg -i /aanschot
+ redirect code 302 location https://eindhoven.openremote.io/console/nbse if is_aanschot
+
# Demo certificate is self-signed
# Production certificate, should be created/stored/managed by letsencrypt sidecar container
bind :443 ssl no-tls-tickets crt "${CERT_FILE}" no-sslv3 no-tls-tickets no-tlsv10 no-tlsv11