mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
Sync nginx config on stable.
This commit is contained in:
parent
db95f11015
commit
ab174f2b8c
2 changed files with 8 additions and 1 deletions
|
@ -23,6 +23,11 @@ server {
|
|||
rewrite ^ $scheme://stable.melpa.org$request_uri? permanent;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name melpa.milkbox.net;
|
||||
rewrite ^ $scheme://melpa.org$request_uri? permanent;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80; ## listen for ipv4; this line is default and implied
|
||||
#listen [::]:80 default ipv6only=on; ## listen for ipv6
|
||||
|
|
|
@ -84,7 +84,9 @@ http {
|
|||
location = /50x.html {
|
||||
root /var/www/nginx-default;
|
||||
}
|
||||
|
||||
location ~ ^/packages/.*\.svg {
|
||||
add_header Cache-Control no-cache;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue