mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-02 16:39:08 +08:00
26 lines
717 B
YAML
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 |