diff --git a/haproxy/haproxy.cfg b/haproxy/haproxy.cfg
index 9cd6ede..bc20370 100644
--- a/haproxy/haproxy.cfg
+++ b/haproxy/haproxy.cfg
@@ -5,11 +5,11 @@ defaults
frontend http-in
bind *:8080
- acl host_localhost hdr(host) localhost
- acl host_direct_localhost hdr_reg(host) -i ^.*\.direct\.localhost?:?.*$
+ acl host_direct hdr_reg(host) -i ^.*\.direct\..*?:?.*$
- use_backend pwd if host_localhost
- use_backend l2 if host_direct_localhost
+ use_backend l2 if host_direct
+
+ default_backend pwd
backend pwd
server node1 pwd:3000
diff --git a/www/assets/app.js b/www/assets/app.js
index cadaa22..9a9bb05 100644
--- a/www/assets/app.js
+++ b/www/assets/app.js
@@ -531,9 +531,12 @@
}
}
}])
- .config(['$mdIconProvider', '$locationProvider', function($mdIconProvider, $locationProvider) {
+ .config(['$mdIconProvider', '$locationProvider', '$mdThemingProvider', function($mdIconProvider, $locationProvider, $mdThemingProvider) {
$locationProvider.html5Mode({enabled: true, requireBase: false});
$mdIconProvider.defaultIconSet('../assets/social-icons.svg', 24);
+ $mdThemingProvider.theme('kube')
+ .primaryPalette('grey')
+ .accentPalette('grey');
}])
.component('settingsIcon', {
template : "
+ Your session has expired. +
+Add instances to your playground.
+Sessions and all their instances are deleted after {{ttl}} hours.
+
+ A simple, interactive and fun playground to learn Kuberentes
+Play with Kuberentes (PWK) is a project hacked by Marcos Lilljedahl and Jonathan Leibiusky and sponsored by Docker Inc.
+PWK is a K8s playground which allows users to run K8s clusters in a matter of seconds. It gives the experience of having a free Alpine Linux Virtual Machine in browser. Under the hood Docker-in-Docker (DinD) is used to give the effect of multiple VMs/PCs.
+