Commit 01d4195f authored by Ludovic Courtès's avatar Ludovic Courtès

nginx: Add redirects to the package browsing interface.

* nginx-locations.conf: Add location blocks for /browse and /package.
parent 840410c3
......@@ -2,6 +2,10 @@ location / {
root /home/ludo/src/guix-hpc-web/site;
}
# For the package browsing interface.
location /browse { proxy_pass http://localhost:5000; }
location /package { proxy_pass http://localhost:5000; }
# For use by Certbot.
location /.well-known {
root /var/www;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment