Nginx Unit with Swift


(Sergey Didanov) #1

What about integration Swift to Nginx Unit?
Or what is the best way to interconnect Nginx with swift?


(Helge Heß) #2

Does Nginx have a proper API? If so, that would be pretty similar to mod_swift (or PL/Swift for that matter).


(Gábor Sebestyén) #3

I'm not familiar with NGINX development but according to this doc it has http://www.evanmiller.org/nginx-modules-guide.html


(Jean-Daniel) #4

Nginx Unit is not Nginx.

The usual way to interconnect Nginx with backend is to define a cluster in nginx and forward the requests. This can either be a standard http forwarding (using proxy_pass) or a custom one (like fastcgi_pass and uwsgi_pass).

For Nginx Unit, I took some time trying to understand what problem it solves and the conclusion is that I don't understand what it is designed to do. It can't server a full site without Nginx, but is not design to properly interoperate with Nginx (don't support parameters, don't support unix sockets, …). So it is pretty useless at this point.


(Sergey Didanov) #5

Thank you.