1Panel/cmd/server/conf/app.yaml

28 lines
749 B
YAML
Raw Normal View History

2022-08-16 15:30:23 +00:00
system:
port: 9999
db_file: 1Panel.db
2023-01-30 13:05:20 +00:00
app_oss: "https://1panel.oss-cn-hangzhou.aliyuncs.com"
2022-08-16 15:30:23 +00:00
log:
level: debug
time_zone: Asia/Shanghai
2022-08-16 15:30:23 +00:00
log_name: 1Panel
log_suffix: .log
log_backup: 10
2022-08-16 15:30:23 +00:00
cors:
mode: whitelist
2022-08-16 15:30:23 +00:00
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
2022-08-16 15:30:23 +00:00
- 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
2022-08-16 15:30:23 +00:00
encrypt:
key: 1Panel_key@2023!