From e79b1a8b6a2f0e892b56ee2d00ea1b9d56ab4083 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sun, 6 Sep 2026 20:38:04 +0100 Subject: add rss-aggregator --- roles/http/tasks/main.yml | 5 +++++ roles/http/templates/nginx/joeac.net.conf | 2 ++ 2 files changed, 7 insertions(+) (limited to 'roles/http') diff --git a/roles/http/tasks/main.yml b/roles/http/tasks/main.yml index 9d2ae22..4907c55 100644 --- a/roles/http/tasks/main.yml +++ b/roles/http/tasks/main.yml @@ -40,6 +40,11 @@ src: nginx/joeac.net.conf dest: /etc/nginx/http.d/joeac.net.conf +- name: Create joeac.net locations config directory + ansible.builtin.file: + path: /etc/nginx/http.d/joeac.net.locations.d + state: directory + - name: Restart nginx service if config changed when: joeacnet_nginx_site_config is changed ansible.builtin.service: diff --git a/roles/http/templates/nginx/joeac.net.conf b/roles/http/templates/nginx/joeac.net.conf index 9f28fee..0cf7a1f 100644 --- a/roles/http/templates/nginx/joeac.net.conf +++ b/roles/http/templates/nginx/joeac.net.conf @@ -21,4 +21,6 @@ server { location ~ /\.sqlite { deny all; } + + include /etc/nginx/http.d/joeac.net.locations.d/*.conf; } -- cgit v1.2.3