• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Electric Toolbox Blog

The Electric Toolbox Blog

Linux, Apache, Nginx, MySQL, Javascript and PHP articles

  • Applications
  • FCKEditor
  • Apache
  • Windows
  • Contact Us

Nginx Web Server

Tips, tricks, tutorials and troubleshooting articles for the Nginx web server

Nginx (pronounced "Engine-X") is an open source Web server and a reverse proxy server with a strong focus on high concurrency, performance and low memory usage. It can deploy dynamic HTTP content on a network using FastCGI, SCGI handlers for scripts, uWSGI application servers or Phusion Passenger module, and can serve as a software load balancer.

I don't use Nginx currently on any of my own web servers, but I do manage a customers images server which uses Nginx.

Browser responses to the X-Frame-Options response header

I discovered the X-Frame-Options response header this morning; it can be used to prevent your website being rendered within a <frame>, <iframe> or <object>. There are different … [Read more...] about Browser responses to the X-Frame-Options response header

Filed Under: Apache, Nginx Web Server

301 all URLs but one with Nginx

There may be times you need to redirect all requests away from a domain except for a single URL, for example when redirecting all requests from http to https but leaving one file accessible under http … [Read more...] about 301 all URLs but one with Nginx

Filed Under: Nginx Web Server

Fix “access denied” error when parsing HTML as PHP with Nginx

If you are attempting to get files with a .html extension parsed as PHP with Nginx + php-fpm, you might get an "access denied" error in your browser, and the error message "Access to the script '...' … [Read more...] about Fix “access denied” error when parsing HTML as PHP with Nginx

Filed Under: Nginx Web Server, PHP

502 Bad Gateway error after upgrading Nginx and/or PHP

After doing an upgrade on my Debian virtual server, which upgraded PHP and Nginx, I got a "502 Bad Gateway" error when browsing websites on that server. This post shows how to fix this problem, and … [Read more...] about 502 Bad Gateway error after upgrading Nginx and/or PHP

Filed Under: Nginx Web Server, PHP

PHP upload_max_filesize and nginx

I've recently set up a new server with PHP & Nginx using packages from dotdeb. The default upload_max_filesize and post_max_size for this setup with php-fpm is 2M. To adjust it, the Nginx … [Read more...] about PHP upload_max_filesize and nginx

Filed Under: Nginx Web Server, PHP

Fix Argument cannot be null, Parameter name: path on Nginx/Mono

When migrating a mono application / web service running on one server to a new server I got an error telling me that the "Argument cannot be null" and "Parameter name: path". This post shows the full … [Read more...] about Fix Argument cannot be null, Parameter name: path on Nginx/Mono

Filed Under: Linux/Unix/BSD, Nginx Web Server

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Primary Sidebar

Categories

  • Apache
  • Applications
  • Article
  • Case Studies
  • Email Servers
  • FCKEditor
  • HTML And CSS
  • Javascript
  • Linux/Unix/BSD
  • Microsoft SQL Server
  • Miscellaneous Postings
  • MySql
  • Networking
  • Nginx Web Server
  • Offsite Articles
  • OSX
  • PHP
  • Quick Tips
  • RFC – Request for Comments
  • SilverStripe
  • VMWare
  • VPN
  • Windows
  • WordPress

Recent Posts

  • Vim Show Line Numbers
  • Add User To Group Linux
  • Chmod 777 Tutorial
  • How to Copy Directory Linux
  • Linux create user

Copyright © 2021. ElectricToolBox. All Rights Reserved.

  • Contact Us
  • Copyright Info
  • Privacy Policy
  • Sitemap