2022-08-16 23:30:23 +08:00
|
|
|
system:
|
|
|
|
db_file: 1Panel.db
|
2023-01-30 21:05:20 +08:00
|
|
|
app_oss: "https://1panel.oss-cn-hangzhou.aliyuncs.com"
|
2023-02-10 18:07:29 +08:00
|
|
|
app_repo_owner: "1Panel-dev"
|
|
|
|
app_repo_name: 'appstore'
|
2022-08-16 23:30:23 +08:00
|
|
|
|
|
|
|
log:
|
2023-01-09 22:55:10 +08:00
|
|
|
level: debug
|
2022-08-30 18:49:07 +08:00
|
|
|
time_zone: Asia/Shanghai
|
2022-08-16 23:30:23 +08:00
|
|
|
log_name: 1Panel
|
|
|
|
log_suffix: .log
|
2023-01-09 22:55:10 +08:00
|
|
|
log_backup: 10
|
2022-08-16 23:30:23 +08:00
|
|
|
|
|
|
|
cors:
|
2023-01-09 22:55:10 +08:00
|
|
|
mode: whitelist
|
2022-08-16 23:30:23 +08: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
|
2023-01-09 22:55:10 +08:00
|
|
|
allow-credentials: true
|
2022-08-16 23:30:23 +08: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
|
2023-02-13 11:04:14 +08:00
|
|
|
allow-credentials: true
|