OSDN Git Service

v2raya: add options to support hook scripts
[v2raya/v2raya-openwrt.git] / v2raya / files / v2raya.config
1
2 config v2raya 'config'
3         option enabled '0'
4
5         # Listening address
6         option address '0.0.0.0:2017'
7
8         # v2rayA configuration directory
9         option config '/etc/v2raya'
10
11         # Make sure your IPv6 network works fine before you turn it on.
12         # Optional values: auto, on, off.
13         option ipv6_support 'auto'
14
15         # Optional values: trace, debug, info, warn or error
16         option log_level 'info'
17
18         # The path of log file
19         option log_file '/var/log/v2raya/v2raya.log'
20
21         # Maximum number of days to keep log files
22         option log_max_days '3'
23
24         option log_disable_color '1'
25
26         option log_disable_timestamp '0'
27
28         # Executable v2ray binary path. Auto-detect if put it empty
29         option v2ray_bin ''
30
31         # Additional v2ray config directory, files in it will be combined with config generated by v2rayA
32         option v2ray_confdir ''
33
34         # The executable file to run in the transparent proxy life-cycle.
35         # v2rayA will pass in the --transparent-type (tproxy, redirect)
36         #   and --stage (pre-start, post-start, pre-stop, post-stop) arguments.
37         option transparent_hook ''
38
39         # The executable file to run in the v2ray-core life-cycle.
40         # v2rayA will pass in the --stage (pre-start, post-start, pre-stop, post-stop) argument.
41         option core_hook ''
42
43         # The executable file to run in the v2ray-core life-cycle.
44         # v2rayA will pass in the --stage (pre-start, post-start, pre-stop, post-stop) argument.
45         option plugin_manager ''
46
47         # Specify the certification path instead of automatically generating a self-signed certificate.
48         # Example: /etc/v2raya/grpc_certificate.crt,/etc/v2raya/grpc_private.key
49         option vless_grpc_inbound_cert_key ''
50