1Panel/cmd/server/conf/app.yaml
2023-02-02 15:05:11 +08:00

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!