Technology

Optimized File Uploading With PHP & Nginx

Performance is often important to people using Nginx – and for good reason, of course. Sadly, while many people will optimize their software stack they will rarely work on optimizing the back-end code; and even more rarely will they eliminate single points of failure. Such was also the case when SitePoint recently published an article about uploading large files with PHP. This post will discuss a method to accept uploads that will scale far better and not offer malicious users an easy DoS vector.

Nginx Configuration Primer

Nginx is a seriously fast reverse proxy and HTTP server, it helps scale most of the biggest sites online. In this guide you’ll learn the basics of writing a solid Nginx configuration and preventing a security issue few people know about.