Serve archive-contents as text/plain MIME type.

Closes #2313
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

View file

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

View file

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