summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/defaults/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-08-28 21:13:35 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-08-28 21:13:35 +0200
commit6b115ba61541b4ea158b102e9fe32658894189af (patch)
tree66abbef7825b52c084baf82f7645c1235155f9f3 /roles/nginx/vhost/defaults/main.yml
parenthttp|imap-proxy: fix tls encryption to backend (allow TLS1.0) (diff)
nginx/vhost: static file template and catchall site for ch-http-proxy
Diffstat (limited to 'roles/nginx/vhost/defaults/main.yml')
-rw-r--r--roles/nginx/vhost/defaults/main.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/roles/nginx/vhost/defaults/main.yml b/roles/nginx/vhost/defaults/main.yml
index dfedb50b..eea545c8 100644
--- a/roles/nginx/vhost/defaults/main.yml
+++ b/roles/nginx/vhost/defaults/main.yml
@@ -4,10 +4,22 @@
# template: generic-proxy-no-buffering-with-acme
# acme: yes
# hostnames:
-# - example.com
-# - www.example.com
+# - example.com
+# - www.example.com
# proxy_pass: http://127.0.0.1:8080
+# default: yes
# nginx_vhost:
# name: other-example
# content: "<<< content of vhost >>>"
+
+# nginx_vhost:
+# name: static
+# template: static-files-with-acme
+# acme: yes
+# hostnames:
+# - static.example.com
+# root: /srv/www/static
+# index: index.html
+# autoindex:
+# format: json