Nginx 404 redirection to error page

2022-04-08 Thread Dhanushka Parakrama
Hi All I have simple drupal site running and i wanted to redirect 404 pages to a error page , So i have following configuration in place error_page 404 https://example.com/page-not-found; when it try to access non existing page such as https://example.com/abc , then from nginx page correc

nginx mod security module issue

2016-01-20 Thread Dhanushka Parakrama
Hi All I have complied the* nginx 1.9.9* with ModSecurity support . and configured the nginx,conf as fallows *Nginx Version : 1.9.9* *Modsecurity Version : 2.9* #nginx -V nginx version: nginx/1.9.9 built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) built with OpenSSL 1.0.1f 6 Jan 2014 TLS SNI