Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

216
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda