• Resolved itsmeit

    (@itsmeit)


    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 2 years, 4 months ago by itsmeit. Reason: spelling correction
    • This topic was modified 2 years, 4 months ago by itsmeit.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @itsmeit, thank you for reaching out. You will need to include the file as a snippet in the server’s main NGINX configuration file. Then, restart your server for the changes to take effect. I hope this helps!

    Thread Starter itsmeit

    (@itsmeit)

    Thank for Support

    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @itsmeit, you’re most welcome! I’ll now mark this topic as resolved. Please don’t hesitate to reach out to us if you have other concerns that you’d like us to assist with.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘iThemes Security creates public nginx.conf file’ is closed to new replies.