Sync nginx config on stable.

This commit is contained in:
Melpa 2015-01-02 21:35:50 -08:00
parent db95f11015
commit ab174f2b8c
2 changed files with 8 additions and 1 deletions

View file

@ -23,6 +23,11 @@ server {
rewrite ^ $scheme://stable.melpa.org$request_uri? permanent; rewrite ^ $scheme://stable.melpa.org$request_uri? permanent;
} }
server {
server_name melpa.milkbox.net;
rewrite ^ $scheme://melpa.org$request_uri? permanent;
}
server { server {
listen 80; ## listen for ipv4; this line is default and implied listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6 #listen [::]:80 default ipv6only=on; ## listen for ipv6

View file

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