{"id":16091585,"date":"2022-10-12T08:20:53","date_gmt":"2022-10-12T08:20:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/ithemes-security-creates-public-nginx-conf-file-2\/"},"modified":"2022-10-12T08:22:53","modified_gmt":"2022-10-12T08:22:53","slug":"ithemes-security-creates-public-nginx-conf-file-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/ithemes-security-creates-public-nginx-conf-file-2\/","title":{"rendered":"iThemes Security creates public nginx.conf file"},"content":{"rendered":"<p>Hello everyone!<\/p>\n<p>iThemes Security created the file nginx.conf file in the wordpress main directory with this content:<\/p>\n<pre><code># BEGIN iThemes Security - Do not modify or remove this line\n# iThemes Security Config Details: 2\n\t# Protect System Files - Security &gt; Settings &gt; System Tweaks &gt; System Files\n\tlocation = \/wp-admin\/install.php { deny all; }\n\tlocation = \/nginx.conf { deny all; }\n\tlocation ~ \/\\.htaccess$ { deny all; }\n\tlocation ~ \/readme\\.html$ { deny all; }\n\tlocation ~ \/readme\\.txt$ { deny all; }\n.....<\/code><\/pre>\n<p>I don&#8217;t think this config file works, so do I need to include it in my \/etc\/nginx\/sites-available\/domain.conf ?<\/p>\n","protected":false},"template":"","class_list":["post-16091585","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16091585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16091585\/revisions"}],"predecessor-version":[{"id":16091590,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16091585\/revisions\/16091590"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16091585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}