Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Rookie
closed by

Hello, I want to install the WP Hide Security Enhancer PRO plugin on the site. And here's what the plugin offers to do ... Add the following to your Nginx config file located usually at /etc/nginx/sites-available/

Replace any existing rewrite rules within # BEGIN WP Hide & Security Enhancer and # END WP Hide & Security Enhancer

The code can contain further instructions, those need followed. Read carefully the lines and make adjustments for any #REPLACE comment..

After config file updated, Test the new data using nginx -t. If successfully compile, restart the Nginx service.

The following code need to be placed before location / block.

# BEGIN WP Hide & Security Enhancer

       rewrite "^/59e7e54826b4cf84ee1358e7a13d45a3/rewrite_test" /wp-content/plugins/wp-hide-security-enhancer-pro/include/rewrite-confirm.php last;

# END WP Hide & Security Enhancer

but I don't understand where to do it since I don't see #REPLACE comment in the files along the path at /etc/nginx/sites-available/

and should I do it at all?

closed with the note: Off-topic!
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.