I needed to use modsecurity so I compiled nginx and modsecurity. Modsecurity was compiled with options: ./configure --enable-standalone-module nginx with: ./configure --add-module=../modsecurity-2.8.0/nginx/modsecurity/ When I try to test my configuration I have this: # /usr/local/nginx/sbin/nginx -t Segmentation fault from message logs: Jun 4 13:57:43 nginx1 kernel: nginx[12229]by Godinho - Nginx Mailing List - English