nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.35k stars 321 forks source link

Feature request: X-Accel #333

Open melck opened 4 years ago

melck commented 4 years ago

Hello,

We talk about this in #62. I didn't see anything in documentation (only static file). I need this for python (django) to securely serve media files. Do you still plan to add this?

PS: I really like nginx unit and I look forward to replacing all container nginx / gunicorn / python-unit only by nginx. Thanks for all your work

melck commented 2 years ago

Hello, any news on this ?

tippexs commented 1 year ago

Hi @melck Thanks for coming back to us with this question and sorry for letting you wait for so long. Given the NGINX documentation https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/ can you elaborate what feature you would like to use or what use case you would like to have been covered by Unit?

leiserfg commented 1 year ago

I think he uses it as a way of authenticating the requests first, the same could be accomplished (and IMHO it's more clear) by implementing something like https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/

lcrilly commented 1 year ago

Subrequest authentication is planned as part of "action chaining" in https://github.com/nginx/unit/issues/764