1Panel/cmd/server/conf/app.yaml
2023-02-14 12:21:07 +08:00

26 lines
717 B
YAML

system:
db_file: 1Panel.db
app_repo_owner: 1Panel-dev
app_repo_name: appstore
base_dir: /opt
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