diff options
author | 2018-12-25 11:39:02 +0800 | |
---|---|---|
committer | 2018-12-25 11:49:18 +0800 | |
commit | 224195a2c6144aa2a2c6ca06794115b3c654469d (patch) | |
tree | efdfdf23224488ef3c584ea56a90af004d2ce369 /demo/nginx_proxy/demo-3/NGINX_with_DMM_Demo.md | |
parent | 15aaddae13faf2bdf7e5d6e18a5192aedbd27e9c (diff) |
Feat: Nginx demo with rsocket and kernel
Change-Id: Iaaf27f3cdf7b99e9bd8c46889a1bda753834bda5
Signed-off-by: rainbow_0206 <jiangwenjiang@huawei.com>
Diffstat (limited to 'demo/nginx_proxy/demo-3/NGINX_with_DMM_Demo.md')
-rw-r--r-- | demo/nginx_proxy/demo-3/NGINX_with_DMM_Demo.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/demo/nginx_proxy/demo-3/NGINX_with_DMM_Demo.md b/demo/nginx_proxy/demo-3/NGINX_with_DMM_Demo.md new file mode 100644 index 0000000..6deb348 --- /dev/null +++ b/demo/nginx_proxy/demo-3/NGINX_with_DMM_Demo.md @@ -0,0 +1,26 @@ +# Demo: NGINX working with multi-stack using DMM + + + + + +In above diagram NGINX box in the middle is working as reverse proxy. +One of the NIC ( client facing) is using kernel tcp/ip stack whereas the +other NIC is connected to upstream server using rsocket tcp/ip stack. + +you can use test.c to compile a server depend on libnStackAPI.so. It bind the +port 8888 by default and you can change it to other port. Then copy the +module_config.json rd_config.json to the folder of server. Then you can start the +server as follow: +./server 162.128.1.16 + +####More Information: +https://wiki.fd.io/view/DMM +https://www.nginx.com/blog/ip-transparency-direct-server-return-nginx-plus-transparent-proxy/ + + + + + + + |