1
0
Fork 0
mirror of https://github.com/correl/melpa.git synced 2025-03-26 17:00:09 -09:00

Serve archive-contents as text/plain MIME type.

Closes 
This commit is contained in:
Melpa 2015-01-02 21:47:20 -08:00
parent ab174f2b8c
commit 2e3cf9104a
2 changed files with 6 additions and 0 deletions
cfg/home/etc

View file

@ -83,6 +83,9 @@ http {
location = /50x.html { location = /50x.html {
root /var/www/nginx-default; root /var/www/nginx-default;
} }
location = /packages/archive-contents {
default_type text/plain;
}
location ~ ^/packages/.*\.svg { location ~ ^/packages/.*\.svg {
add_header Cache-Control no-cache; add_header Cache-Control no-cache;
} }

View file

@ -84,6 +84,9 @@ http {
location = /50x.html { location = /50x.html {
root /var/www/nginx-default; root /var/www/nginx-default;
} }
location = /packages/archive-contents {
default_type text/plain;
}
location ~ ^/packages/.*\.svg { location ~ ^/packages/.*\.svg {
add_header Cache-Control no-cache; add_header Cache-Control no-cache;
} }