Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

213
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!