Activities

February 2010
M T W T F S S
« Jan   Mar »
1234567
891011121314
15161718192021
22232425262728

Nginx : Setting up custom error pages

Add the following line in your virtualhost config. file for your domain.

error_page 500 502 503 504 404  /404.html;         location = /404.html {          root  /var/www/vhosts/mydomain.com/httpdocs/;      }

Pls note that you have a file created on httpdocs named “404.html”. For setting this up on a joomla […]