diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-08-17 20:05:00 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-08-17 20:05:00 +0200 |
commit | 88f9ccc57964d8530dd23952f4ef3d85bab2438b (patch) | |
tree | 1ac6db932157df00af76a642b85ab85a05217724 /roles/nginx/vhost/defaults/main.yml | |
parent | acmetool: 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/main.yml')
-rw-r--r-- | roles/nginx/vhost/defaults/main.yml | 16 |
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 >>>" |