diff --git a/cfg/home/etc/nginx b/cfg/home/etc/nginx index 97e6d6f4..a3f0415b 100644 --- a/cfg/home/etc/nginx +++ b/cfg/home/etc/nginx @@ -86,6 +86,9 @@ http { location = /packages/archive-contents { default_type text/plain; } + location ~ ^/packages/.*\.el { + default_type text/plain; + } location ~ ^/packages/.*\.svg { add_header Cache-Control no-cache; } diff --git a/cfg/home/etc/nginx-stable b/cfg/home/etc/nginx-stable index d7d03f3e..cbfdf07e 100644 --- a/cfg/home/etc/nginx-stable +++ b/cfg/home/etc/nginx-stable @@ -87,6 +87,9 @@ http { location = /packages/archive-contents { default_type text/plain; } + location ~ ^/packages/.*\.el { + default_type text/plain; + } location ~ ^/packages/.*\.svg { add_header Cache-Control no-cache; }