You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Minecraft Versions before 12w04a are **NOT SUPPORTED**!<br/>
23
23
* mcrelay.conf.example: config file example of mcrelay.
24
24
* mcrelay.service.forking.example: service unit file of mcrelay for systemd(using runmode: forking).
25
25
* mcrelay.service.simple.example: service unit file of mcrelay for systemd(using runmode: simple).
26
-
* mod/*.h: header files of essential modules.
26
+
* mod: directory of essential modules.
27
27
* loglevel.info: definations for messages.
28
28
29
29
## Compile
@@ -51,6 +51,7 @@ proxy_pass proxy_type
51
51
ident_name destination_object
52
52
proxy_pass proxy_type
53
53
ident_name destination_object
54
+
default destination_object
54
55
</pre>
55
56
### Explanation
56
57
* runmode: set program's runmode.
@@ -74,6 +75,7 @@ If not set, the server will detect SRV record first(defined in address_d).<br/>
74
75
If SRV record resolve failed, it will fallback to normal address resolve, also connect to this address with port 25565.<br/>
75
76
**For rewrite enabled relay, it will use actual connect configuration to rewrite.**
76
77
>>* path: the socket file you wish to connect.
78
+
* default: optional, set a default server to connect when client don't match any valid virtual host. (Intentionally not support rewrite here.) (Security suggestion: Don't use this feature unless you know what you are doing.)
0 commit comments