summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMike Fellows <Mike.Fellows@shaw.ca>2017-12-27 09:35:19 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-12-27 08:35:19 -0600
commit08cf7d90efe787ccbccae8573968a47c84cfa54e (patch)
treedefa47f79318743c9e93c2805ab51f2095f921f1 /docs
parent4c9341f689e840df30db3e227498a30fdb5b88ef (diff)
downloadgitea-08cf7d90efe787ccbccae8573968a47c84cfa54e.tar.gz
gitea-08cf7d90efe787ccbccae8573968a47c84cfa54e.zip
Add docs for REDIRECT_OTHER_PORT and PORT_TO_REDIRECT config options (#3262)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index b5517080df..424e4264f5 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -87,6 +87,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- `LFS_START_SERVER`: Enables git-lfs support. `true` or `false`, default is `false`.
- `LFS_CONTENT_PATH`: Where your lfs files put on, default is `data/lfs`.
- `LFS_JWT_SECRET`: LFS authentication secret, changed this to yourself.
+- `REDIRECT_OTHER_PORT`: If true and `PROTOCOL` is https, redirects http requests on another port to `ROOT_URL`, default is `false`.
+- `PORT_TO_REDIRECT`: Port used when `REDIRECT_OTHER_PORT` is true, default is `80`.
## Database (`database`)