summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--module/default.nix4
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;