Commit Graph
28 Commits
Author SHA1 Message Date
Campbell HeandGitHub f2229e0566 doc: add brief intro on using traefik as reverse-proxy (#19432) 2022-04-20 16:08:23 +02:00
aa60cd91b2 Update nginx reverse proxy docs (#18922)
Add additional config lines for the set_header to forward additional information (eg the IP)

Co-authored-by: Lunny Xiao <[email protected]>
2022-02-26 19:32:09 +01:00
Jan TojnarandGitHub a38ab71b20 docs: mention client_max_body_size affects LFS (#18291) 2022-01-15 17:26:01 -05:00
Greg MyersandGitHub 79791ba4ac Fix typos in docs/content (#18215) 2022-01-09 19:53:03 +08:00
b1df890951 Docs: replace gitea with Gitea (#17838)
Co-authored-by: wxiaoguang <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
2021-11-28 21:28:30 +08:00
8fdc5247de Update for reverse proxying static resources (#17670)
Gitea fetches static resources from /assets, so nginx configuration has to be updated accordingly.

Co-authored-by: zeripath <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
2021-11-16 21:53:15 -05:00
KaneandGitHub 932780c2bb Add HAProxy Config to reverse-proxies.en-us.md (#17407)
* Update reverse-proxies.en-us.md

Addition of HAProxy

* Update reverse-proxies.en-us.md
2021-10-24 17:48:26 +02:00
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 <[email protected]>
2021-10-15 23:34:07 -04:00
8cbb38f546 Added documentation about 413 errors with an nginx solution (#15313)
* Added documentation about 413 errors with an nginx solution.

Co-authored-by: silverwind <[email protected]>
Co-authored-by: Norwin <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2021-07-10 02:16:07 +02:00
Martin StrobandGitHub 7a0ed9a046 fix IIS reverse proxy doc (#16246) 2021-06-25 14:38:41 +02:00
44286e29f0 reverse proxy for IIS (#15555)
Co-authored-by: techknowlogick <[email protected]>
2021-05-14 00:36:53 -04:00
DonlonandGitHub 4d22e2423f Fix incorrect generated link in documentation page (#14112) 2020-12-22 15:54:12 +00:00
af79677a44 Reformat docs (#13897)
Co-authored-by: 6543 <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
2020-12-09 07:47:06 +01:00
6bdcacd73b Added Table of Contents to long documentation pages (#13890)
* Redo #13836 with new shortcode
(https://gitea.com/gitea/theme/pulls/90)

* add Api Usage

Co-authored-by: techknowlogick <[email protected]>
2020-12-07 23:52:26 -05:00
e7b47c5215 Format files (#13698)
* align "make help"

* format

* untouch build/generate-svg.js

* untouch .eslintrc

* combine editorconfig's

* rm editorconfig

Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-11-28 01:12:22 -05:00
Ben HarrisandGitHub a4da46d182 Use correct make target for building static assets (#12247)
The webpack make target does not build semantic-ui
2020-07-14 15:45:23 -04:00
2d1ade3415 Update Caddy reverse-proxy instructions (#11655)
Co-authored-by: techknowlogick <[email protected]>
2020-05-30 22:16:32 -04:00
5c3be56f7b Add IIS Reverse Proxy documentation (#10881)
* Add IIS Reverse Proxy documentation

@mahdiit in #10748 described how to set up IIS as a reverse proxy. This
PR adds these to our documentation.

Close #10748

Signed-off-by: Andrew Thornton <[email protected]>

* Update docs/content/doc/usage/reverse-proxies.en-us.md

Co-Authored-By: mrsdizzie <[email protected]>

Co-authored-by: mrsdizzie <[email protected]>
2020-03-30 00:11:15 +03:00
5563d56a32 Update static resources documentation (#10270)
Signed-off-by: Gary Kim <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-02-16 01:00:40 +02:00
2401779aac Correct a language error in reverse proxy doc (#9455)
* Correct a language error in reverse proxy doc

* Apply suggestions from code review

Co-Authored-By: zeripath <[email protected]>

Co-authored-by: zeripath <[email protected]>
2019-12-27 14:17:26 +02:00
NZTimandLauris BH f8a6eb8f32 Apache configuration for Let's Encrypt webroot validation (#9438) 2019-12-20 19:58:26 +02:00
Jakob AckermannandLunny Xiao 00629fea95 [assets] configurable URL for static resources (#7911)
* static url

* add cors support for static resources

* [assets] work on the migration to configurable url for assets

Signed-off-by: Jakob Ackermann <[email protected]>

* [misc] fix whitespace

Signed-off-by: Jakob Ackermann <[email protected]>

* [assets] fix the loading of the manifest.json

It is generated dynamically, and as such can not be served by the cdn.

Signed-off-by: Jakob Ackermann <[email protected]>

* Revert "add cors support for static resources"

This reverts commit 42f964fd181dbb8b139808b9be623470d4f0e40f

Signed-off-by: Jakob Ackermann <[email protected]>

* [docs] add the STATIC_URL_PREFIX option

Signed-off-by: Jakob Ackermann <[email protected]>

* [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX

Signed-off-by: Jakob Ackermann <[email protected]>

* [assets] migrate the url of a new asset to the static url prefix

REF: f2a3abc683
Signed-off-by: Jakob Ackermann <[email protected]>
2019-10-22 20:11:01 +08:00
mrsdizzieandtechknowlogick 700cd346fa Fix regression in reverse proxy documentation (#7634)
From Apache: AllowEncodedSlashes not allowed in <Proxy> context

Move this out of <Proxy> block

Fixes #7632
2019-07-26 18:09:12 -04:00
Gary KimandLauris BH cc384d767e Specify using AllowEncodedSlashes and nocanon for httpd (#7540)
When using wiki page names that include a slash
behind a Apache HTTPD reverse proxy,
AllowEncodedSlashes NoDecode
and appending nocanon to the ProxyPass
directive is required. This commit adds that
information to the documentation.

Signed-off-by: Gary Kim <[email protected]>
2019-07-20 21:44:53 +03:00
Aidan Fitzgeraldandtechknowlogick f5cf9a8355 Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
BetaCatandtechknowlogick 1972383216 ZH-CN translation of Usage part (#5086) 2018-10-17 14:19:04 -04:00
FlufandLunny Xiao 48797e7199 Gitea with Caddy with sub-path documentation. (#4028)
Matches rest of headings
2018-05-24 08:24:04 +08:00
FlufandLunny Xiao 416ded5f3e Add documentation for reverse proxies (#4022)
Fixes #3904
2018-05-23 13:21:17 +08:00