don't add slash to forgejo paths in reverse proxy
This commit is contained in:
parent
a93d71f47f
commit
7a2550b37d
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue