mod_security and nginx fails to build on configure

Juslintek

Verified User
Joined
Feb 27, 2014
Messages
15
Location
Vilnius, Lithuania
Good day community!

Here are my options.conf:
http://ur1.ca/o4cmh

OS CentOs 6.7 mod_security feedback on error
http://pastie.org/10495963

P.S. PHP7 doesn't work with opcache, unless you comment out its directory and path on 10-directadmin.ini and do --enable-opcache from configure.php70

Oh as well it would be nice to have have some premade url rewrite rules for nginx, or some template syntax, where you could identify cms or some way make automated individual per cms vhost templates.

Looking forward to hearing from you.

P.S. Avoid this tutorials, because it doesn't work. (p.s. during this tutorial I used nginx_apache):
http://help.poralix.com/articles/nginx-varnish-apache-on-directadmin
 
Last edited:
Hello Juslintek,

Thank you for your feedback regarding the tutorial. The guide you are referring to describes how to set Varnish with NGINX+Apache, and you are using standalone Nginx. In this case the guide can not be used without modification. When you run a standalone NGINX its configs do not have section:

Code:
proxy_pass http://|IP|:|PORT_8080|;

That's it.

 
Back
Top