forgejo/routers
wxiaoguang e18ea9e349
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>
2021-10-15 23:34:07 -04:00
..
api/v1 Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320) 2021-10-15 23:34:07 -04:00
common Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
install Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
private refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
web Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320) 2021-10-15 23:34:07 -04:00
init.go Always emit the configuration path (#17036) 2021-09-13 21:24:57 -04:00