简体   繁体   中英

Azure App service (Linux Nginx) file upload error 413 (Payload Too Large)

I am getting 413 (Payload Too Large) when I try to upload a video with size 10MB. How can I change the app service upload size.

Server:Azure App service (Linux Nginx) API: PHP 8

I tried adding client_max_body_size 100M;didn't work

在此处输入图像描述

you will need to modify the client_max_body_size directive in the nginx configuration file. The location of the configuration file is:

/etc/nginx/nginx.conf

add or edit the following setting:

client_max_body_size 100M;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM