From f18e94f33bca415854c075d918ee24feff679156 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 10 Jan 2024 12:46:38 +0300 Subject: [PATCH] Properly proxy assets --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 4135c65..178107e 100644 --- a/flake.nix +++ b/flake.nix @@ -172,6 +172,10 @@ locations."/".extraConfig = '' proxy_pass http://localhost:${toString cfg.port}/404; ''; + + locations."/assets".extraConfig = '' + proxy_pass http://localhost:${toString cfg.port}/assets; + ''; }; };