On Thu, Sep 03, 2020 at 02:18:12AM -0400, jasonsx wrote:
> and i got this
> 2020/09/03 08:02:21 [emerg] 8252#1152: unknown directive "upload_pass" in
That means that the nginx binary that you are using does not include a
module that uses that directive.
> i search like a 2 day and fail with it i found upload module but i can't
> install it in windows
> any idea ?
If you need the module, you must either find-or-build a nginx binary
that includes it; or (if it can be a dynamic module) find-or-build the
module and load it.
Depending on what you want to do, you may not need the module.
http://nginx.org/r/upload_pass suggests that it is not a stock nginx
module that you are hoping to use -- for a third-party module, you may
want to check which nginx version it is declared to work with.
On Thu, Sep 03, 2020 at 06:55:56AM -0400, jasonsx wrote:
For what it's worth:
to handle file uploads in nginx, you need nginx + your own code; or
nginx + this upload module + your own code.
Using this module might make the "your own code" part a bit easier to
write; but it will still need to be written.
So if you need to have file uploads working before someone prepares
the module for you, you can make the "your own code" part handle it
all. (Some languages / libraries do make the "your own code" part simpler
than some others.)