Commit Graph
28 Commits
Author SHA1 Message Date
Campbell He 2b89de2c44 doc: add brief intro on using traefik as reverse-proxy (#19432) 2022-04-20 16:08:23 +02:00
JonRBandLunny Xiao cec800c2f9 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 Tojnar bf8723b548 docs: mention client_max_body_size affects LFS (#18291) 2022-01-15 17:26:01 -05:00
Greg Myers 59ef05d999 Fix typos in docs/content (#18215) 2022-01-09 19:53:03 +08:00
a504ca2c61 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
fa83e9f0bd 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
Kane 20f1a87faa 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
wxiaoguangandtechknowlogick 1cc5dacdea 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
4475688ae9 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 Strob 7292d77cde fix IIS reverse proxy doc (#16246) 2021-06-25 14:38:41 +02:00
Jimmyandtechknowlogick a574e87c61 reverse proxy for IIS (#15555)
Co-authored-by: techknowlogick <[email protected]>
2021-05-14 00:36:53 -04:00
Donlon 21a940b82d Fix incorrect generated link in documentation page (#14112) 2020-12-22 15:54:12 +00:00
9ccfa03d94 Reformat docs (#13897)
Co-authored-by: 6543 <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
2020-12-09 07:47:06 +01:00
6543andtechknowlogick 33231b3a42 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
a3b10dd83e 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 Harris df8a3ccf8d 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
TLZandtechknowlogick 903d775c58 Update Caddy reverse-proxy instructions (#11655)
Co-authored-by: techknowlogick <[email protected]>
2020-05-30 22:16:32 -04:00
zeripathandmrsdizzie 7872ea2d47 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
66afeb21ac 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
Erwan Colinandzeripath be5b88610e 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
NZTim 0b24212567 Apache configuration for Let's Encrypt webroot validation (#9438) 2019-12-20 19:58:26 +02:00
Jakob Ackermann 0d130c26cf [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: f2a3abc683ad4b2177b7c7c6160a2c0b4316120a
Signed-off-by: Jakob Ackermann <[email protected]>
2019-10-22 20:11:01 +08:00
mrsdizzie 27ccb76378 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 Kim 52c3eaedb7 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 Fitzgerald 9853171de5 Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
BetaCat 61f40c0f9d ZH-CN translation of Usage part (#5086) 2018-10-17 14:19:04 -04:00
Fluf ad6968e067 Gitea with Caddy with sub-path documentation. (#4028)
Matches rest of headings
2018-05-24 08:24:04 +08:00
Fluf 232987fc18 Add documentation for reverse proxies (#4022)
Fixes #3904
2018-05-23 13:21:17 +08:00