server.toml 352 B

123456789101112
  1. # rathole configuration for proxy protocol enabled client
  2. #
  3. # The service configuration has an additional `enable_proxy_protocol` boolean field.
  4. # Not setting this field defaults its value to `false` at runtime.
  5. [server]
  6. bind_addr = "0.0.0.0:2333"
  7. default_token = "123"
  8. [server.services.foo1]
  9. bind_addr = "0.0.0.0:5202"
  10. enable_proxy_protocol = true