Raw socket answer (non-http request reply)

Ilja Razinkov razinkov at gmail.com
Fri Aug 28 09:04:07 UTC 2015


i have to handle raw socket connections in simple manner: any
connection to specific port should be served with predefined data
(text string), without http headers, wrappings, etc.

Is it possible to do with nginx? May be there is plugin or something similar.

To be specific - i wish to serve Adobe socket policy file on 843 port.
It is important, that server should send policy request strictly
"as-is", without additional content inside raw socket answer

Thanks in advance!



More information about the nginx mailing list