Skip to content

191919/nginx_general_protocol

Repository files navigation

nginx_flash_policy is a demo-purpose nginx module to demonstrate how to write an nginx module to
serve custom protocols.

nginx_flash_policy serves Flash cross-domain requests.

To compile and install the module:

$ ./configure --without-http --without-http-cache --add-module=/path/to/nginx_flash_policy
$ make && make install

[nginx.conf]

flash_policy
{
	server
	{
		listen 843;
		allow_access_from example1.com:123 example2.com example3:456-789;
	}
}

If allow_access_from is not provided, the default allowed access is *:*.

The module is adapted from nginx's original mail module and may be buggy and feature-incomplete.
Contact me if you have any questions.

This module is written for and tested under nginx-0.8.40.

This module is distributed under BSD license.

About

general protocol module for nginx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages