ブログ - 413 Request Entity Too Large nginx/1.17.3
413 Request Entity Too Large nginx/1.17.3
- カテゴリ :
- Apple » MacBook Pro » 2011 13inch
- ブロガー :
- ujpblog 2019/10/23 2:03
Webサーバでnginxが動作するサーバにファイルをアップロードしようとしたら,エラーが出た.

今回アップロードしようとしたのが16MBだったので,100MBに変更する.
反映させるために,停止と起動.

今回アップロードしようとしたのが16MBだったので,100MBに変更する.
server {
listen 80;
#server_name localhost;
#server_name 127.0.0.1;
server_name 192.168.20.26;
client_max_body_size 100M;🈁
$ brew services stop nginxl🆑
Stopping `nginx`... (might take a while)
==> Successfully stopped `nginx` (label: homebrew.mxcl.nginx)
$ brew services start nginx🆑
==> Successfully started `nginx` (label: homebrew.mxcl.nginx)
$