mirror of
https://github.com/correl/melpa.git
synced 2025-03-26 17:00:09 -09:00
parent
ab174f2b8c
commit
2e3cf9104a
2 changed files with 6 additions and 0 deletions
cfg/home/etc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue