Cloudpanel – NGINX rewrite issue
-
Hi,
Cloudpanel.io is a Hosting Control Panel. It is ultra-fast.
The technology stack is built with NGINX, PHP-FPM, Redis, and more.The plugin “WP Hide & Security Enhancer” doesn’t work as it should. It gives the following error:
Unable to automatically deploy the rewrite rules, manual action required! Check Setup menu for instructions on how to add the rewrite rules on your server.
CODE:
#BEGIN WP Hide & Security Enhancer
rewrite “^/6398c9051edc2a7adc5a3192afc6295f/rewrite_test” /wp-content/plugins/wp-hide-security-enhancer-pro/include/rewrite-confirm.php last;
rewrite “^/2222/(.+)” /wp-content/$1 last;
#END WP Hide & Security Enhancer
After manually adding the codes to the config file(reloaded nginx), and changing for example — the wp-content path(reloaded nginx) — .css, images, etc doesn’t load in the frontend, hence breaks the site.
I believe this is due to the Cloudpanel as other similar plugins had the same issue.
Please help with a solution if possible.
Thanks.
- The topic ‘Cloudpanel – NGINX rewrite issue’ is closed to new replies.