nginx last version on windows

Francis Daly francis at
Thu Sep 3 09:48:03 UTC 2020

On Thu, Sep 03, 2020 at 02:18:12AM -0400, jasonsx wrote:

Hi there,

> and i got this
> 2020/09/03 08:02:21 [emerg] 8252#1152: unknown directive "upload_pass" in
> C:\nginx-1.19.2/conf/vhost/

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. 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.

Good luck with it,

Francis Daly        francis at

More information about the nginx mailing list