diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-06-24 02:38:05 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-07-04 16:32:25 -0400 |
commit | 8248275d4e015042a89e3a3d95765193641bfda1 (patch) | |
tree | 578e5a8b3c1af6f30e82067a44886e888f34c612 /modules/tozt/files | |
parent | f7cb87b82615fbb0d4d6b63f709692e9732aeabf (diff) | |
download | puppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.tar.gz puppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.zip |
add tick stack stuff
Diffstat (limited to 'modules/tozt/files')
-rw-r--r-- | modules/tozt/files/nginx/chronograf-tls.conf | 16 | ||||
-rw-r--r-- | modules/tozt/files/nginx/chronograf.conf | 10 | ||||
-rw-r--r-- | modules/tozt/files/nginx/influxdb-tls.conf | 16 | ||||
-rw-r--r-- | modules/tozt/files/nginx/influxdb.conf | 10 |
4 files changed, 52 insertions, 0 deletions
diff --git a/modules/tozt/files/nginx/chronograf-tls.conf b/modules/tozt/files/nginx/chronograf-tls.conf new file mode 100644 index 0000000..b6f838e --- /dev/null +++ b/modules/tozt/files/nginx/chronograf-tls.conf @@ -0,0 +1,16 @@ +server { + listen 443; + server_name chronograf.tozt.net; + + access_log /var/log/nginx/chronograf.access.log; + error_log /var/log/nginx/chronograf.error.log; + + include ssl; + + location / { + proxy_pass http://127.0.0.1:8888/; + auth_basic "chronograf"; + auth_basic_user_file "/media/persistent/chronograf.htpasswd"; + } +} +# vim:ft=nginx diff --git a/modules/tozt/files/nginx/chronograf.conf b/modules/tozt/files/nginx/chronograf.conf new file mode 100644 index 0000000..9011fd6 --- /dev/null +++ b/modules/tozt/files/nginx/chronograf.conf @@ -0,0 +1,10 @@ +server { + listen 80; + server_name chronograf.tozt.net; + + access_log /var/log/nginx/chronograf.access.log; + error_log /var/log/nginx/chronograf.error.log; + + rewrite ^(.*) https://$host$1 permanent; +} +# vim:ft=nginx diff --git a/modules/tozt/files/nginx/influxdb-tls.conf b/modules/tozt/files/nginx/influxdb-tls.conf new file mode 100644 index 0000000..5b06d34 --- /dev/null +++ b/modules/tozt/files/nginx/influxdb-tls.conf @@ -0,0 +1,16 @@ +server { + listen 443; + server_name influxdb.tozt.net; + + access_log /var/log/nginx/influxdb.access.log; + error_log /var/log/nginx/influxdb.error.log; + + include ssl; + + location / { + proxy_pass http://127.0.0.1:8086/; + auth_basic "influxdb"; + auth_basic_user_file "/media/persistent/influxdb.htpasswd"; + } +} +# vim:ft=nginx diff --git a/modules/tozt/files/nginx/influxdb.conf b/modules/tozt/files/nginx/influxdb.conf new file mode 100644 index 0000000..744e2fd --- /dev/null +++ b/modules/tozt/files/nginx/influxdb.conf @@ -0,0 +1,10 @@ +server { + listen 80; + server_name influxdb.tozt.net; + + access_log /var/log/nginx/influxdb.access.log; + error_log /var/log/nginx/influxdb.error.log; + + rewrite ^(.*) https://$host$1 permanent; +} +# vim:ft=nginx |