-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
I'm using lua with nginx and I need to do some piping. I need to auth in lua on 3rd party website and then download file but not to my server, but directly piping to user.
nginx ==> 3rdparty/auth
nginx <== 3rdparty: You are logged in
nginx ==> 3rdparty/get/file/x.tar.gz;
nginx <== 3rdparty: Here you are... binary data
nginx.on_3rdparty_chunk(data) ==> nginx.send_to_client(data)
Is it possible? Can you give a simple example?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels