Archive: 2019/12

0

Nginx Ninja -- Nginx frequently used recipes

常用配置client_max_body_size 20m 设置请求体大小,避免在文件上传等场景中,出现413 Request Entity Too Large Nginx转发端口常规转发12345678server { listen 8000; location / { # 所有请求转发到本机8001 proxy_pass http://127.0.0.1:8001; &#