Nginx tests
diff --git a/tests/pillar/horizon_no_ssl.sls b/tests/pillar/horizon_no_ssl.sls
new file mode 100644
index 0000000..5e03128
--- /dev/null
+++ b/tests/pillar/horizon_no_ssl.sls
@@ -0,0 +1,16 @@
+
+nginx:
+ server:
+ enabled: true
+ extras: false
+ bind:
+ address: 127.0.0.1
+ protocol: tcp
+ site:
+ horizon_site01:
+ enabled: true
+ type: horizon
+ name: site01
+ host:
+ name: horizon.domain.com
+
diff --git a/tests/pillar/horizon_with_ssl.sls b/tests/pillar/horizon_with_ssl.sls
new file mode 100644
index 0000000..053723e
--- /dev/null
+++ b/tests/pillar/horizon_with_ssl.sls
@@ -0,0 +1,27 @@
+
+nginx:
+ server:
+ enabled: true
+ extras: false
+ bind:
+ address: 127.0.0.1
+ protocol: tcp
+ site:
+ horizon_site01:
+ enabled: true
+ type: horizon
+ name: site01
+ host:
+ name: horizon.domain.com
+ ssl:
+ enabled: true
+ key: |
+ -----BEGIN RSA PRIVATE KEY-----
+ -----END RSA PRIVATE KEY-----
+ cert: |
+ -----BEGIN CERTIFICATE-----
+ -----END CERTIFICATE-----
+ chain: |
+ -----BEGIN CERTIFICATE-----
+ -----END CERTIFICATE-----
+
diff --git a/tests/pillar/proxy.sls b/tests/pillar/proxy.sls
new file mode 100644
index 0000000..669a8ee
--- /dev/null
+++ b/tests/pillar/proxy.sls
@@ -0,0 +1,21 @@
+
+nginx:
+ server:
+ enabled: true
+ extras: false
+ bind:
+ address: 127.0.0.1
+ protocol: tcp
+ site:
+ nginx_proxy_site01:
+ enabled: true
+ type: nginx_proxy
+ name: site01
+ proxy:
+ host: 172.10.10.100
+ port: 80
+ protocol: http
+ host:
+ name: cloudlab.domain.com
+ port: 80
+
diff --git a/tests/pillar/redirect.sls b/tests/pillar/redirect.sls
new file mode 100644
index 0000000..5d6566c
--- /dev/null
+++ b/tests/pillar/redirect.sls
@@ -0,0 +1,16 @@
+
+nginx:
+ server:
+ enabled: true
+ extras: false
+ bind:
+ address: 127.0.0.1
+ protocol: tcp
+ site:
+ nginx_redirect_site01:
+ enabled: true
+ type: nginx_redirect
+ name: site01
+ host:
+ name: cloudlab.domain.com
+
diff --git a/tests/pillar/static.sls b/tests/pillar/static.sls
new file mode 100644
index 0000000..f205169
--- /dev/null
+++ b/tests/pillar/static.sls
@@ -0,0 +1,17 @@
+
+nginx:
+ server:
+ enabled: true
+ extras: false
+ bind:
+ address: 127.0.0.1
+ protocol: tcp
+ site:
+ nginx_static_site01:
+ enabled: true
+ type: nginx_static
+ name: site01
+ host:
+ name: cloudlab.domain.com
+ port: 80
+
diff --git a/tests/pillar/stats.sls b/tests/pillar/stats.sls
new file mode 100644
index 0000000..25f1bda
--- /dev/null
+++ b/tests/pillar/stats.sls
@@ -0,0 +1,17 @@
+
+nginx:
+ server:
+ enabled: true
+ extras: false
+ bind:
+ address: 127.0.0.1
+ protocol: tcp
+ site:
+ nginx_stats_server:
+ enabled: true
+ type: nginx_stats
+ name: server
+ host:
+ name: 127.0.0.1
+ port: 8888
+