Welcome! Log In Create A New Profile

Advanced

Re: Nginx Based Socket application

Valentin V. Bartenev
February 09, 2015 09:44AM
On Sunday 08 February 2015 23:59:29 Tigran Bayburtsyan wrote:
> Hi.
> I'm trying to find out, how to write module for Nginx which would be able
> to access directly to connection socket and transfer non HTTP data.
> I know that Nginx is written for specially HTTP(S) requests,

No.

See:
http://nginx.org/en/docs/mail/ngx_mail_core_module.html
http://nginx.org/en/docs/stream/ngx_stream_core_module.html
https://github.com/arut/nginx-rtmp-module

Also note that "http" in nginx is just a module too.


> but I'm thinking of use it as a proxy server for my custom binary protocol.
>
> Where can I find out some documentation or examples about it ?

The source code of mail, http and rtmp modules can be a good example.

wbr, Valentin V. Bartenev

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Nginx Based Socket application

tigran.bayburtsyan 753 February 08, 2015 03:00PM

Re: Nginx Based Socket application

Jeff Kaufman 330 February 09, 2015 09:36AM

Re: Nginx Based Socket application

Valentin V. Bartenev 439 February 09, 2015 09:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready