forge
Explore
Log in

Don't you dare go Hollow

in

Clone
★ 0

0 watching0 forksRustAGPL-3.0528.7 KiB9215377Tahinli27 days ago37 commits

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