今天做了个东西
内网能上传文件,外网不行
经过排查,怀疑是ngnix的问题,
413 Request Entity Too Large
于是设置文件大小,然后重启nginx后ok
Syntax:
client_max_body_size size;
size
client_max_body_size 1m;
http
server
location
ngnix-内网能用,外网不能用
原文:https://www.cnblogs.com/mathprice/p/9158870.html