iThemes Security creates public nginx.conf file

[ad_1]

Hello everyone!

iThemes Security created the file nginx.conf file in the wordpress main directory with this content:

# BEGIN iThemes Security - Do not modify or remove this line
# iThemes Security Config Details: 2
	# Protect System Files - Security > Settings > System Tweaks > System Files
	location = /wp-admin/install.php { deny all; }
	location = /nginx.conf { deny all; }
	location ~ /\.htaccess$ { deny all; }
	location ~ /readme\.html$ { deny all; }
	location ~ /readme\.txt$ { deny all; }
.....

I don’t think this config file works, so do I need to include it in my /etc/nginx/sites-available/domain.conf ?

  • This topic was modified 6 hours, 50 minutes ago by itsmeit. Reason: spelling correction
  • This topic was modified 6 hours, 49 minutes ago by itsmeit.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer