# Ferron reverse proxy for in. Same format as the forge and iz examples (ferron.conf, not KDL). # Replace in.example.com with the public host name (base_url in /etc/in/in.toml must match it). # A bare host block gets automatic TLS. # # The proxy sends X-Forwarded-For for the client. in reads that header only from peers listed in # trusted_proxies; with Ferron on the same machine the peer is 127.0.0.1, so set # trusted_proxies = ["127.0.0.1/32"] in in.toml. Left empty, every visitor counts as 127.0.0.1 and one # visitor's failures throttle everyone. # # Buffering is off because the live update streams (server-sent events) must reach the browser # as they are written. # # Keep /s/ (public share links) out of the access log: those paths carry tokens that grant access. in.example.com { buffer_request 0 buffer_response 0 proxy { upstream http://127.0.0.1:7655 } }