summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/defaults
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-08-17 20:05:00 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-08-17 20:05:00 +0200
commit88f9ccc57964d8530dd23952f4ef3d85bab2438b (patch)
tree1ac6db932157df00af76a642b85ab85a05217724 /roles/nginx/vhost/defaults
parentacmetool: let's encrypt again updated it's subscriber aggreement (diff)
nginx/vhost: combine templates to one generic version
Diffstat (limited to 'roles/nginx/vhost/defaults')
-rw-r--r--roles/nginx/vhost/defaults/main.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/roles/nginx/vhost/defaults/main.yml b/roles/nginx/vhost/defaults/main.yml
index 233015be..b80a5442 100644
--- a/roles/nginx/vhost/defaults/main.yml
+++ b/roles/nginx/vhost/defaults/main.yml
@@ -2,7 +2,7 @@
# nginx_vhost:
# default: yes
# name: example
-# template: generic-proxy-no-buffering-with-acme
+# template: generic
# acme: yes
# hostnames:
# - example.com
@@ -24,12 +24,8 @@
# trusted_certificate: /path/to/ca.pem
# nginx_vhost:
-# name: other-example
-# content: "<<< content of vhost >>>"
-
-# nginx_vhost:
-# name: static
-# template: static-files-with-acme
+# name: mixed-static-and-proxy
+# template: generic
# acme: yes
# hostnames:
# - static.example.com
@@ -45,3 +41,9 @@
# add_header X-Example-Header "foo";
# '/subdir/':
# alias: /srv/www/foo
+# '/foo/':
+# proxy_pass: http://127.0.0.1:1234
+
+# nginx_vhost:
+# name: other-example
+# content: "<<< content of vhost >>>"