123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # config for frontend
- frontend:
- # 'true' for enable frontend startup, 'false' for disable.
- enable: true
- # absolute path to the frontend executable file
- entry: "data/frontend/zDWSIFrontend"
- # config for logger of frontend startup shell
- shell_log:
- # absolute path to shell log (log rotating will append infix into filename)
- file: "/data/logs/frontend.shell.log"
- # max size per log file (MegaBytes)
- max_size: 16
- # max days for rotating
- max_age: 30
- # max backups for rotating remain
- max_backups: 50
- # 'true' for using local time for rotating
- use_local_time: true
- # 'true' for compress rotating history into zip files
- compress_history: true
- # listening address
- # (will set environment variable 'listen' when startup frontend)
- listen: ":8080"
- # root path for frontend
- # (will set environment variable 'wwwroot' when startup frontend)
- wwwroot: "/data/wwwroot/"
- # config for backend reverse proxy
- backend_proxy:
- # backend forward prefix
- # (will set environment variable 'backend_prefix' when startup frontend)
- # e.g. : if using default frontend program, set this with 'api'
- # the URL under http://hostname:port/api/ will be forwarding to backend
- prefix: "api"
- # backend forward target
- # (will set environment variable 'backend_target' when startup frontend)
- target: "http://localhost:9090/"
- # config for backend
- backend:
- # 'true' for enable backend startup, 'false' for disable.
- enable: false,
- # absolute path to the backend executable file
- entry: "/data/backend/Backend",
- # listening address
- # (will set environment variable 'listen' when startup backend)
- listen: ":9090",
- # config for logger of backend startup shell
- shell_log":
- # absolute path to shell log (log rotating will append infix into filename)
- file: "/data/logs/backend.shell.log",
- # max size per log file (MegaBytes)
- max_size: 16,
- # max days for rotating
- max_age: 30,
- # max backups for rotating remain
- max_backups: 50,
- # 'true' for using local time for rotating
- use_local_time: true,
- # 'true' for compress rotating history into zip files
- compress_history: true
|