iz
Clone
https://git.tahinli.com/Tahinli/iz.git
0 watching0 forksRustAGPL-3.0567.3 KiB3950aceTahinli27 days ago34 commits
| 1 | # Ferron reverse proxy for iz. Same format as the forge example (ferron.conf, not KDL). |
| 2 | # Replace iz.example.com with the public host name (base_url in /etc/iz/iz.toml must match it). |
| 3 | # A bare host block gets automatic TLS. |
| 4 | # |
| 5 | # Ferron may send X-Forwarded-For, but iz does not read that header, so iz never sees the client |
| 6 | # address: every request reaches iz from 127.0.0.1. Leave trusted_proxies out of iz.toml; it has no |
| 7 | # effect, and boot logs a warning when it is set. |
| 8 | # |
| 9 | # Buffering is off because the live update streams (server-sent events) must reach the browser |
| 10 | # as they are written. |
| 11 | iz.example.com { |
| 12 | buffer_request 0 |
| 13 | buffer_response 0 |
| 14 | proxy { |
| 15 | upstream http://127.0.0.1:7654 |
| 16 | } |
| 17 | } |