1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00
1Panel/cmd/server/conf/app.yaml

27 lines
729 B
YAML
Raw Normal View History

2022-08-16 23:30:23 +08:00
system:
db_file: 1Panel.db
app_repo_owner: 1Panel-dev
app_repo_name: appstore
base_dir: /opt
2023-02-14 11:17:18 +08:00
mode: dev
2022-08-16 23:30:23 +08:00
log:
level: debug
time_zone: Asia/Shanghai
2022-08-16 23:30:23 +08:00
log_name: 1Panel
log_suffix: .log
log_backup: 10
2022-08-16 23:30:23 +08:00
cors:
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
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
allow-credentials: true