node.js - NodeJS application behind APache2 reverse proxy get error "413 Request Entity Too Large" on upload files -
i work on node.js application permits users upload large files.
- when run on
8080
or3000
or whatever, okay. - but when access on
80
behind apache2mod_proxy
configured reverse proxy, error on upload (files > 1mb)
413 request entity large
i tryed add directive apache config :
limitrequestbody 0
but doesn't change behavior. don't know search right conf.
solved.
it seems apache reverse proxy works mod_proxy
needs mod_proxy_http
.
in case application works fine fisrt apart uploading files > 1mb.
i found references mod_proxy_http
, enabled :
# a2enmod proxy_http # apache2 restart
now seems work. trying upload larger , larger files server test it. last 160mb , uploaded fine.
Comments
Post a Comment