aboutsummaryrefslogtreecommitdiff
path: root/proxy.c
AgeCommit message (Collapse)Author
2022-01-30allow using a custom hostname for SNI during proxyingOmar Polo
add a `sni' option for the `proxy' block: the given name is used instead of the one extracted by the `relay-to' rule.
2022-01-27improve proxy error pathOmar Polo
properly release everything when during client_close if the request was managed by a proxy.
2022-01-27set REQUEST_PROXY only when proxy_init is successfulOmar Polo
2022-01-02proxy: allow multiple proxy blocks, matching options and validationsOmar Polo
as a side effect the order of the content of a server block is relaxed: options, location or proxy blocks can be put in any order.
2022-01-01allow to disable TLS when proxying requestsOmar Polo
2022-01-01add `protocols' option to `proxy' ruleOmar Polo
2022-01-01add `verifyname' option for `proxy' ruleOmar Polo
2022-01-01simplify the proxying codeOmar Polo
it doesn't make any sense to keep the proxying info per-location: proxying only one per-vhost. It can't work differently, it doesn't make sense anyway.
2022-01-01support optional client certificate for proxy ruleOmar Polo
2021-12-29add ability to proxy requestsOmar Polo
Add to gmid the ability to forwad a request to another gemini server and thus acting like a reverse proxy. The current syntax for the config file is server "example.com" { ... proxy relay-to host:port } Further options (like the use of custom certificates) are planned. cf. github issue #7