From 82e3c77caa566206b84fc4ca9c71625b9d1988c2 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Thu, 31 Aug 2023 13:44:12 -0700 Subject: [PATCH] add repo files to text --- templates/etc/nginx/conf.d/repopool-http-production.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/etc/nginx/conf.d/repopool-http-production.conf.j2 b/templates/etc/nginx/conf.d/repopool-http-production.conf.j2 index 6c49ce0..61337f0 100644 --- a/templates/etc/nginx/conf.d/repopool-http-production.conf.j2 +++ b/templates/etc/nginx/conf.d/repopool-http-production.conf.j2 @@ -12,7 +12,7 @@ alias /mnt/repos-staging/mirror/pub; } - location ~* .*(\.manifest|CHECKSUM|COMMUNITY-CHARTER|COMPOSE_ID|Contributors|EULA|LICENSE|\.yaml|\.json|README|fullfile.*)$ { + location ~* .*(\.manifest|CHECKSUM|COMMUNITY-CHARTER|COMPOSE_ID|Contributors|EULA|LICENSE|\.yaml|\.json|README|fullfile.*|\.repo)$ { #add_header Content-Type text/plain; types { } default_type "text/plain; charset=utf-8"; } @@ -48,7 +48,7 @@ alias /mnt/repos-staging/mirror/pub; } - location ~* .*(\.manifest|CHECKSUM|COMMUNITY-CHARTER|COMPOSE_ID|Contributors|EULA|LICENSE|\.yaml|\.json|README|fullfile.*)$ { + location ~* .*(\.manifest|CHECKSUM|COMMUNITY-CHARTER|COMPOSE_ID|Contributors|EULA|LICENSE|\.yaml|\.json|README|fullfile.*|\.repo)$ { #add_header Content-Type text/plain; types { } default_type "text/plain; charset=utf-8"; }