diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-22 15:49:33 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-22 15:49:33 +0100 |
| commit | 97113ea2a5df7f7c78eb523b82560ec9d58a6fda (patch) | |
| tree | 046aff36887c79956ac467182bf3d611a652faed /module/default.nix | |
| parent | fix(module): Allow the `@chown` syscall family (diff) | |
| download | nix-97113ea2a5df7f7c78eb523b82560ec9d58a6fda.zip | |
fix(module): Strip the `/api/` path prefix before passing to `rocie-server`
Diffstat (limited to '')
| -rw-r--r-- | module/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/default.nix b/module/default.nix index d2e53d3..d9872c3 100644 --- a/module/default.nix +++ b/module/default.nix @@ -134,8 +134,8 @@ in { }; services.nginx.virtualHosts."${cfg.domain}" = { - locations."/api" = { - proxyPass = "http://127.0.0.1:${builtins.toString cfg.port}"; + locations."/api/" = { + proxyPass = "http://127.0.0.1:${builtins.toString cfg.port}/"; recommendedProxySettings = true; proxyWebsockets = true; |
