From 17bd35d5c45c1728ff51f16f33a7f3e23b07004b Mon Sep 17 00:00:00 2001 From: Leonidas Spyropoulos <artafinde@archlinux.org> Date: Sat, 6 May 2023 23:45:11 +0100 Subject: [PATCH] aurweb: archives moved to separate folder Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org> --- roles/aurweb/templates/nginx.d.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/aurweb/templates/nginx.d.conf.j2 b/roles/aurweb/templates/nginx.d.conf.j2 index e8de5aa1b..da067510f 100644 --- a/roles/aurweb/templates/nginx.d.conf.j2 +++ b/roles/aurweb/templates/nginx.d.conf.j2 @@ -95,6 +95,7 @@ server { } location ~ \.gz$ { + root {{ aurweb_dir }}/archives; default_type text/plain; add_header Content-Encoding gzip; expires 5m; -- GitLab