summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/vhost/defaults/main.yml')
-rw-r--r--roles/nginx/vhost/defaults/main.yml33
1 files changed, 31 insertions, 2 deletions
diff --git a/roles/nginx/vhost/defaults/main.yml b/roles/nginx/vhost/defaults/main.yml
index b80a5442..0eb67b42 100644
--- a/roles/nginx/vhost/defaults/main.yml
+++ b/roles/nginx/vhost/defaults/main.yml
@@ -3,10 +3,14 @@
# default: yes
# name: example
# template: generic
-# acme: yes
+# tls:
+# certificate_provider: acmetool
# hostnames:
# - example.com
# - www.example.com
+# logs:
+# access: /var/log/nginx/example_access.log
+# error: /var/log/nginx/example_error.log
# extra_directives: |-
# add_header X-Example-Header "foo";
# locations:
@@ -26,7 +30,10 @@
# nginx_vhost:
# name: mixed-static-and-proxy
# template: generic
-# acme: yes
+# tls:
+# variant: legacy
+# hsts: false
+# certificate_provider: acmetool
# hostnames:
# - static.example.com
# extra_directives: |-
@@ -41,8 +48,30 @@
# add_header X-Example-Header "foo";
# '/subdir/':
# alias: /srv/www/foo
+# '/private/':
+# return: "403"
# '/foo/':
# proxy_pass: http://127.0.0.1:1234
+# '/custom/':
+# custom: |-
+# include fastcgi_params;
+# fastcgi_param SCRIPT_FILENAME /usr/lib/cgi/foo
+# fastcgi_param PATH_INFO $uri;
+# fastcgi_pass unix:/run/fcgiwrap/foo.sock;
+
+# nginx_vhost:
+# name: example-custom
+# template: generic
+# tls:
+# variant: legacy
+# hsts: false
+# certificate_provider: acmetool
+# hostnames:
+# - static.example.com
+# custom: |-
+# location / {
+# foo "bar";
+# }
# nginx_vhost:
# name: other-example