wordpress - Imaguard plugin not working with ngnix server -
We are using a WordPress plugin for some of our websites, one of those websites is on the Nginx server and the plugin works there does not. I have followed the instructions outlined here: But I still can not work on this plugin.
It seems that these instructions will only work if we are hosting multiple websites on one server, we do not have Where should I put this code for this plugin to work? As you stated in the link, you can get this code from your vhost.conf so I do not know that this Where does the code add to Nginx configuration:
if ($ http_referer! ~ * "^ Http: // (. +.)? Cupidspulse.com") {Set $ rule_0 $ 1 rule_0; } If ($ rule_0 = "1") {rewrite ^ / (. *). (Jpg | png | jpeg | gif) $ /show-image/?img=/$1.$2 redirect; }
nginx.conf File should be placed in the file, if you are not using multiple
.conf files
Comments
Post a Comment