TLS termination example:
listeners:
- name: https
address: 0.0.0.0
port: 443
protocol: https
tls:
cert_file: /etc/reflect/certs/fullchain.pem
key_file: /etc/reflect/certs/privkey.pem
routes:
- listener: https
match:
host: example.com
upstreams:
- address: 10.0.0.5
port: 8080
TLS passthrough example (protocol: tcp, route by SNI): reflect 4 proxy
listeners:
- name: tls-pass
address: 0.0.0.0
port: 443
protocol: tcp
routes:
- listener: tls-pass
match:
sni: app.example.com
upstreams:
- address: 10.0.0.7
port: 443
Security proxies can check user roles before allowing a method to execute. TLS termination example: listeners: - name: https address:
This is the factory class that creates proxy instances. Its most important static method is: TLS passthrough example (protocol: tcp, route by SNI):
public static Object newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
When implementing a reflect proxy, developers frequently encounter these specific errors. Here is how to fix them.
TLS termination example:
listeners:
- name: https
address: 0.0.0.0
port: 443
protocol: https
tls:
cert_file: /etc/reflect/certs/fullchain.pem
key_file: /etc/reflect/certs/privkey.pem
routes:
- listener: https
match:
host: example.com
upstreams:
- address: 10.0.0.5
port: 8080
TLS passthrough example (protocol: tcp, route by SNI):
listeners:
- name: tls-pass
address: 0.0.0.0
port: 443
protocol: tcp
routes:
- listener: tls-pass
match:
sni: app.example.com
upstreams:
- address: 10.0.0.7
port: 443
Security proxies can check user roles before allowing a method to execute.
This is the factory class that creates proxy instances. Its most important static method is:
public static Object newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
When implementing a reflect proxy, developers frequently encounter these specific errors. Here is how to fix them.