don't add slash to forgejo paths in reverse proxy

This commit is contained in:
Frieder Hannenheim 2025-06-23 14:01:00 +02:00
parent a93d71f47f
commit 7a2550b37d

View file

@ -119,7 +119,7 @@ in
services.nginx.virtualHosts.${domain} = {
locations."/" = {
proxyPass = "http://unix:${config.services.forgejo.settings.server.HTTP_ADDR}:/";
proxyPass = "http://unix:${config.services.forgejo.settings.server.HTTP_ADDR}:";
proxyWebsockets = true;
};
locations."/api/v1/users/search".return = "403";