nginx-locations.conf 484 Bytes
Newer Older
1 2 3 4
location / {
  root /home/ludo/src/guix-hpc-web/site;
}

5 6 7 8
# For the package browsing interface.
location /browse { proxy_pass http://localhost:5000; }
location /package { proxy_pass http://localhost:5000; }

9 10 11 12
# For use by Certbot.
location /.well-known {
   root /var/www;
}
13 14 15

# Redirects for old URLs.
location = /guix-hpc-debut.html {
16
   return 301 /blog/2017/09/guix-hpc-debut;
17
}
18 19 20
location = /about.html {
   return 301 /about;
}
21 22 23
location = /feed.xml {
   return 301 /blog/feed.xml;
}