Skip to content

Commit

Permalink
improve nginx reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
noerw committed Jul 10, 2021
1 parent 1e33668 commit 22770fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/content/doc/usage/reverse-proxies.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ server {
location /git/ { # Note: Trailing slash
proxy_pass http://localhost:3000/; # Note: Trailing slash
}
location = /git {
return 308 /git/
}
}
```

Expand Down

0 comments on commit 22770fd

Please sign in to comment.