Add framework for custom nginx error pages