Files
3x-rule-sync/config.example.yaml

23 lines
580 B
YAML

servers:
- name: eu-1
url: https://eu-1.example.com
# Choose one authentication method:
# token: paste-the-3x-ui-API-token-here
tokenEnv: THREE_X_UI_EU_1_TOKEN
rules:
- name: google
# disabled: true # writes enabled: false in the Xray rule
match:
domain: [geosite:google]
inboundTag: [vless-in]
outbound:
tagRegex: "^proxy-google-"
strategy: leastPing
sync:
# Omit interval for a one-off run, or pass -once to override it.
interval: 5m
# Managed rules go after manually maintained rules by default.
position: last