From 5111d9d4939bbbc97dfc8b0b1711ab1dcf884c41 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 3 Apr 2021 13:40:57 +0200 Subject: feat(www/tazj.in): Add a temporary route for serving static blobs Until I come up with a better idea. Change-Id: Ie44cae4c2df264cbe1a70f5ebcca814262dd2800 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2771 Reviewed-by: tazjin Tested-by: BuildkiteCI --- ops/nixos/www/tazj.in.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ops/nixos/www/tazj.in.nix b/ops/nixos/www/tazj.in.nix index 8ed3585cdb..7d658a5ec4 100644 --- a/ops/nixos/www/tazj.in.nix +++ b/ops/nixos/www/tazj.in.nix @@ -23,6 +23,11 @@ try_files $uri $uri.html $uri/ =404; } + + # Temporary place for serving static files. + location /blobs/ { + alias /var/lib/tazjins-blobs/; + } ''; }; -- cgit 1.4.1