mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-04 09:49:20 +08:00
27 lines
736 B
YAML
27 lines
736 B
YAML
system:
|
|
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! |