summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-04-02 22:10:03 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-04-02 22:10:03 +0200
commit5c4573107d41a2bf781bc2034ced12d910a9bd3d (patch)
treecac5c389230d2dba5b2ac24f6369fbb39c4716fb
parentnginx/vhost: always configure access_logs and error_logs (diff)
some more cleanups
-rw-r--r--inventory/host_vars/ch-pan.yml1
-rw-r--r--roles/gitolite/http/tasks/nginx-vhost.yml3
2 files changed, 1 insertions, 3 deletions
diff --git a/inventory/host_vars/ch-pan.yml b/inventory/host_vars/ch-pan.yml
index c6034fa6..c364dd7f 100644
--- a/inventory/host_vars/ch-pan.yml
+++ b/inventory/host_vars/ch-pan.yml
@@ -32,6 +32,7 @@ network:
spreadspace_apt_repo_components:
+ - main
- prometheus
diff --git a/roles/gitolite/http/tasks/nginx-vhost.yml b/roles/gitolite/http/tasks/nginx-vhost.yml
index 706f5655..c851fbe2 100644
--- a/roles/gitolite/http/tasks/nginx-vhost.yml
+++ b/roles/gitolite/http/tasks/nginx-vhost.yml
@@ -52,9 +52,6 @@
template: generic
tls: "{{ gitolite_instance.value.http.tls }}"
hostnames: "{{ gitolite_instance.value.http.hostnames }}"
- logs:
- access: "/var/log/nginx/git-{{ gitolite_instance.key }}_access.log"
- error: "/var/log/nginx/git-{{ gitolite_instance.key }}_error.log"
locations: "{{ nginx_locations_base | combine(nginx_locations_logo) | combine(nginx_locations_main) | combine(nginx_locations_git_backend) }}"
include_role:
name: nginx/vhost