Title: nginx.conf location
Last modified: August 31, 2016

---

# nginx.conf location

 *  Resolved [robachicken](https://wordpress.org/support/users/robachicken/)
 * (@robachicken)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/nginxconf-location/)
 * Hi,
 * I’m having an issue with iThemes Security on nginx with the nginx.conf location.
 * I currently have my nginx.conf file located outside of the public directory, 
   however I can’t seem to get iThemes Security to regognise that.
    I have updated
   the setting for “NGINX Conf File” to the correct path however it still insists
   on creating the nginx.conf in the public root folder. Other plugins detect this
   correctly, so I know that it has write access to it.
 * Does anyone know if this is a bug, or if I’m missing something here?
 * Thanks,
    Rob
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  [dwinden](https://wordpress.org/support/users/dwinden/)
 * (@dwinden)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/nginxconf-location/#post-7087678)
 * [@robachicken](https://wordpress.org/support/users/robachicken/)
 * Yes, this is a known bug which was introduced in the 4.8.0 (and higher) release.
 * You would probably need to downgrade to the [4.6.13 release](https://downloads.wordpress.org/plugin/better-wp-security.4.6.13.zip)
   to make this work again.
 * Alternatively you may find something usefull in [this](https://wordpress.org/support/topic/nginx-conf-file-setting-does-not-take-effect)
   topic.
 * If the above info answers your question please mark this topic as ‘resolved’.
 * dwinden

Viewing 1 replies (of 1 total)

The topic ‘nginx.conf location’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [dwinden](https://wordpress.org/support/users/dwinden/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/nginxconf-location/#post-7087678)
 * Status: resolved