mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
24 lines
424 B
YAML
24 lines
424 B
YAML
# Server Configuration
|
|
server:
|
|
port: 8080
|
|
host: "127.0.0.1"
|
|
sizelimit: 131072000 # 125MB
|
|
|
|
# Logging Configuration
|
|
logger:
|
|
logfilepath: "/data/ghproxy/log/ghproxy.log"
|
|
maxlogsize: 5 # MB
|
|
|
|
# CORS Configuration
|
|
cors:
|
|
enabled: true
|
|
|
|
# Authentication Configuration
|
|
auth:
|
|
enabled: false
|
|
authtoken: "test"
|
|
|
|
# Blacklist Configuration
|
|
blacklist:
|
|
enabled: true
|
|
blacklistfile: "/data/ghproxy/config/blacklist.json"
|