diff --git a/flake.nix b/flake.nix index c7cabb6..38466ad 100644 --- a/flake.nix +++ b/flake.nix @@ -175,13 +175,8 @@ forceSSL = true; useACMEHost = cfg.url; - locations."/".extraConfig = '' - proxy_pass http://localhost:${toString cfg.port}/404; - ''; - - locations."/assets".extraConfig = '' - proxy_pass http://localhost:${toString cfg.port}/assets; - ''; + locations."/".proxyPass = "http://localhost:${toString cfg.port}/404"; + locations."/assets".proxyPass = "http://localhost:${toString cfg.port}/assets"; }; };