Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

212
Vistas
Upload any type of file to the server

How can I upload a file to the server without space limit? I want to find out the code sequence in HTML and Javascript / PHP. I only use NGINX. Can there be a setting in NGINX that limits my upload (if so, how to disable it)?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

client_max_body_size

NGINX has a setting that can limit the upload size of files. In your NGINX configuration, you can use client_max_body_size to set the max body size of incoming requests. Setting it to 0 disables it.

server {
    client_max_body_size 0;
}

There is more information available here: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

about 4 years ago · Juan Pablo Isaza Denunciar

0

Disabling a web server upload limit is a bad idea - it would mean anyone can take your website down with a single line of code mimicking uploading a billion terabyte file. You can however adjust the upload size in your php.ini file under upload_max_filesize. You can also change the client_max_body_size entry in your nginx.conf.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda