I'm getting an 413 request entity too large when I make a request from my nodejs application inside Docker to an outside REST API.
When I make this request outside Docker, it goes normally.
I was using node 10.16.0 and updated to 12.16.1 without success.
Dockerfile:
FROM node:12.16.1
RUN mkdir -p /usr/share
RUN cd /usr/share
WORKDIR /app
ADD . /app
RUN yarn
EXPOSE 4000
CMD ["node", "index.js"]
Error on /Document/PostDocument (413): "<html>\r\n<head><title>413 Request Entity Too Large</title></head>\r\n<body>\r\n<center><h1>413 Request Entity Too Large</h1></center>\r\n<hr><center>openresty/1.15.8.1</center>\r\n</body>\r\n</html>\r\n"