iThemes Security - NGINX.conf errors (2 posts)

  1. mimocloud
    Posted 2 years ago #


    i have a problem with wordpress...
    It Seems that iThemes Security writes the security changes to the nginx.conf file but nginx cant use these changes.

    if i try to restart nginx i only get the folowwing error on my Server.:
    Restarting nginx: nginx: [emerg] unknown directive "location" in /etc/nginx/nginx.conf:4
    nginx: configuration file /etc/nginx/nginx.conf test failed

    Does somebody has a solution?

    Greetings and Thx for your help!

  2. Dave Naylor
    Posted 2 years ago #

    It's a bit worrying that a WordPress plugin can gain write access to files in /etc. Are you sure iThemes Security is actually doing that?


    Just had a re-think. Does the /etc/nginx/nginx.conf include a configuration file from somewhere within your WordPress installation?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.