mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Fix mongoose docs generation
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
This commit is contained in:
1 parent
ab000c684a
commit
3eb4eb8074
166 files changed
+3125
No files matched your search
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: "mg_http_reverse_proxy()"
|
||||
decl_name: "mg_http_reverse_proxy"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
void mg_http_reverse_proxy(struct mg_connection *nc,
|
||||
const struct http_message *hm, struct mg_str mount,
|
||||
struct mg_str upstream);
|
||||
---
|
||||
|
||||
Proxies a given request to a given upstream http server. The path prefix
|
||||
in `mount` will be stripped of the path requested to the upstream server,
|
||||
e.g. if mount is /api and upstream is http://localhost:8001/foo
|
||||
then an incoming request to /api/bar will cause a request to
|
||||
http://localhost:8001/foo/bar
|
||||
|
||||
EXPERIMENTAL API. Please use http_serve_http + url_rewrites if a static
|
||||
mapping is good enough.
|
||||
|
||||
Reference in new issue
Block a user