update melpa config to rewrite url

This commit is contained in:
Melpa 2014-10-23 01:27:42 -04:00
parent 8851c51e62
commit 07ce78e290

View file

@ -17,6 +17,11 @@
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
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
@ -25,6 +30,7 @@ server {
# Make site accessible from http://localhost/
server_name localhost;
server_name melpa.org;
# proxy to Apache 2 and mod_python
location / {