File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
docs/content/doc/advanced Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
60
60
the top of the list. Name must match file name in conf/license or custom/conf/license.
61
61
- ` DISABLE_HTTP_GIT ` : ** false** : Disable the ability to interact with repositories over the
62
62
HTTP protocol.
63
+ - ` ACCESS_CONTROL_ALLOW_ORIGIN ` : **** : Value for Access-Control-Allow-Origin header, default is not to present.
64
+ WARNING: This maybe harmful to you website if you do not give it a right value.
63
65
- ` USE_COMPAT_SSH_URI ` : ** false** : Force ssh:// clone url instead of scp-style uri when
64
66
default SSH port is used.
65
67
- ` ACCESS_CONTROL_ALLOW_ORIGIN ` : ** \< empty\> ** : Value for Access-Control-Allow-Origin header,
Original file line number Diff line number Diff line change 32
32
- ` DEFAULT_PRIVATE ` : 默认创建的git工程为私有。 可以是` last ` , ` private ` 或 ` public ` 。默认值是 ` last ` 表示用户最后创建的Repo的选择。
33
33
- ` MAX_CREATION_LIMIT ` : 全局最大每个用户创建的git工程数目, ` -1 ` 表示没限制。
34
34
- ` PULL_REQUEST_QUEUE_LENGTH ` : 小心:合并请求测试队列的长度,尽量放大。
35
+ - ` ACCESS_CONTROL_ALLOW_ORIGIN ` : **** : Access-Control-Allow-Origin 头的值,默认为空。
36
+ 警告:如果您不熟悉这方面的设置请不要修改此值,可能影响网站安全。
35
37
36
38
## UI (` ui ` )
37
39
You can’t perform that action at this time.
0 commit comments