summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/dashboard/templates
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-09-22 22:57:22 +0800
committerbaigk <baiguoku@huawei.com>2015-09-22 23:35:03 +0800
commita07334031b4b4b055a19c971d0cc3164f95d5a0b (patch)
tree58620d25e2e484c0c3f0b5270df10096dba7c509 /deploy/adapters/ansible/roles/dashboard/templates
parenta2ea6270efc928dfb062cb32065162df4396b6a4 (diff)
add public vip for external access
JIRA: COMPASS-69 Change-Id: I7c2b6a026d2fb002174aa5f0a619d9fe6982e528 Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/dashboard/templates')
-rw-r--r--deploy/adapters/ansible/roles/dashboard/templates/ports.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/dashboard/templates/ports.j2 b/deploy/adapters/ansible/roles/dashboard/templates/ports.j2
new file mode 100644
index 00000000..0bfa0428
--- /dev/null
+++ b/deploy/adapters/ansible/roles/dashboard/templates/ports.j2
@@ -0,0 +1,15 @@
+# if you just change the port or add more ports here, you will likely also
+# have to change the VirtualHost statement in
+# /etc/apache2/sites-enabled/000-default.conf
+
+Listen {{ internal_ip }}:80
+
+<IfModule ssl_module>
+ Listen 443
+</IfModule>
+
+<IfModule mod_gnutls.c>
+ Listen 443
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet