GNU/Linux >> Tutoriales Linux >  >> Linux

nginx - 413 Entidad de solicitud demasiado grande

Ve el siguiente error en su navegador cuando intenta cargar un archivo a través de http:

413 Request entity Too Large

Solución

Abra /etc/nginx/nginx.conf...

nano /etc/nginx/nginx.conf

... y agregue client_max_body_size con un valor lo suficientemente grande, por ejemplo:

client_max_body_size 2M;

Reinicie nginx después:

service nginx restart

Linux
  1. Cómo deshabilitar ETag en NGINX

  2. Cómo habilitar HTTP2 en NGINX

  3. Redirigir HTTP a HTTPS en NginX

  4. Configure WSO2 con NGINX Reverse Proxy para URL personalizadas

  5. ¿Por qué el patrón Awk no coincide con los argumentos de configuración de Nginx -v?

Redirección 301 usando NGINX

Cómo habilitar TLS 1.3 en Nginx

Solucionar el error de Nginx:413 Entidad de solicitud demasiado grande

¿Cómo habilitar IPv6 en Nginx?

Cómo arreglar la entidad de solicitud Nginx 413 demasiado grande

Instalar Nginx en Ubuntu 18.04