1Panel/cmd/server/conf/app.yaml
2023-02-16 16:37:16 +08:00

27 lines
734 B
YAML

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