mirror of https://github.com/1Panel-dev/1Panel
28 lines
749 B
YAML
28 lines
749 B
YAML
|
system:
|
||
|
port: 9999
|
||
|
db_file: 1Panel.db
|
||
|
app_oss: "https://1panel.oss-cn-hangzhou.aliyuncs.com"
|
||
|
|
||
|
log:
|
||
|
level: debug
|
||
|
time_zone: Asia/Shanghai
|
||
|
log_name: 1Panel
|
||
|
log_suffix: .log
|
||
|
log_backup: 10
|
||
|
|
||
|
cors:
|
||
|
mode: whitelist
|
||
|
whitelist:
|
||
|
- allow-origin: example1.com
|
||
|
allow-headers: content-type
|
||
|
allow-methods: GET, POST
|
||
|
expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type
|
||
|
allow-credentials: true
|
||
|
- allow-origin: example2.com
|
||
|
allow-headers: content-type
|
||
|
allow-methods: GET, POST
|
||
|
expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type
|
||
|
allow-credentials: true
|
||
|
|
||
|
encrypt:
|
||
|
key: 1Panel_key@2023!
|