]> source.dussan.org Git - gitea.git/commit
Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are...
authorwxiaoguang <wxiaoguang@gmail.com>
Sat, 16 Oct 2021 03:34:07 +0000 (11:34 +0800)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 03:34:07 +0000 (23:34 -0400)
commite18ea9e3491e872d0a0736322ace4def5680432c
tree31fe00ae5331ffc5b0553795efda9a03b5ab5916
parent55885297f471603de6212917a47ceb2078a449d1
Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320)

* Apache `ProxyPassReverse` only works for Location, Content-Location and URI headers on HTTP redirect responses, it causes more problems than it resolves. Now all URLs generated by Gitee have the correct prefix AppSubURL. We do not need to set `ProxyPassReverse`.

* fix url param

* use AppSubURL instead of AppURL in api/v1

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
docs/content/doc/usage/reverse-proxies.en-us.md
docs/content/doc/usage/reverse-proxies.zh-cn.md
routers/api/v1/api.go
routers/api/v1/org/member.go
routers/web/user/notification.go