Commit 9214613e authored by Peter Palfrader's avatar Peter Palfrader

Get file/ links directly from the farm

parent 317a3c52
......@@ -41,6 +41,12 @@ WSGIDaemonProcess snapshot.debian.org user=nobody group=nogroup home=/ processes
</Files>
</Directory>
AliasMatch "^/file/([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{36})$" "/srv/snapshot.debian.org/farm/$1/$2/$1$2$3"
<Directory /srv/snapshot.debian.org/farm>
Require all granted
Header set Cache-Control "max-age=31536000, public"
</Directory>
WSGIScriptAlias / /srv/snapshot.debian.org/bin/snapshot.wsgi
WSGIProcessGroup snapshot.debian.org
#WSGIPassAuthorization On
......
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