Issue with ngnix server
-
Hello All,
We are using imaguard plugin in one of my websites. Seems a good plugin when I am using it with my localhost websites.
One of my website is on ngnix server and the plugin is not working there. I have followed the instructions mention here : https://www.ads-software.com/support/topic/nginx-4?replies=9
But unable to make this plugin working at my website : https://cupidspulse.com
It seems that the instructions mentioned here https://www.ads-software.com/support/topic/nginx-4?replies=9 are for will work when we are using multiple websites on one server but we have dedicated server for this website. So, we are not having vhost.conf file.
Please suggest me where to put this code on server :
if ($http_referer !~* "^https://(.+.)?cupidspulse.com"){ set $rule_0 1$rule_0; } if ($rule_0 = "1"){ rewrite ^/(.*).(jpg|png|jpeg|gif)$ /show-image/?img=/$1.$2 redirect; }
Hoping for urgent help.
Thanks
Sunil Chaudhary
- The topic ‘Issue with ngnix server’ is closed to new replies.