From 6b115ba61541b4ea158b102e9fe32658894189af Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 28 Aug 2020 21:13:35 +0200 Subject: nginx/vhost: static file template and catchall site for ch-http-proxy --- roles/nginx/vhost/defaults/main.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'roles/nginx/vhost/defaults/main.yml') 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 -- cgit v1.2.3