summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/defaults
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-14 22:11:11 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-20 22:12:03 +0200
commita3ab64f6a262e3bd0da4435729c2e6f9013aad5d (patch)
tree3bb91a533fb2ea1c51b9930becc4f0ab73035478 /roles/nginx/vhost/defaults
parentmonitoring/landingpage: fix tls config and make config changable (diff)
gitolite/http: use generic template for vhost
Diffstat (limited to 'roles/nginx/vhost/defaults')
-rw-r--r--roles/nginx/vhost/defaults/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/nginx/vhost/defaults/main.yml b/roles/nginx/vhost/defaults/main.yml
index 5984e623..1447fb14 100644
--- a/roles/nginx/vhost/defaults/main.yml
+++ b/roles/nginx/vhost/defaults/main.yml
@@ -8,6 +8,9 @@
# 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:
@@ -45,8 +48,16 @@
# 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: other-example