-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
29 lines (20 loc) · 772 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.