1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/routers/api/v1
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
..
admin Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
misc Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
notify Notifications API: respond with updated notifications (#17064) 2021-09-17 19:40:50 -04:00
org 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
repo Add buttons to allow loading of incomplete diffs (#16829) 2021-10-15 17:05:33 +01:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger [API] Add endpount to get user org permissions (#17232) 2021-10-12 12:47:19 +02:00
user Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
utils Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
api.go 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