mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 11:09:31 +00:00
Serve /packages/*.el as text/plain (see #2351)
This commit is contained in:
parent
758d7d976b
commit
393799bcd3
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue