I’ve investigated the problem and found out that the problem is not with the Nginx, the problem was that our website address begins with www however in WPSR_redirect function the method you used to get the current url is not compatible with websites having www in their address:
Line 418 seo-redirection.php
$permalink=$util->get_current_URL();
which points at:
Line 167 common/utils.php
if (array_key_exists(‘HTTPS’,$_SERVER) && $_SERVER[‘HTTPS’] != ‘off’ && $_SERVER[‘HTTPS’] != ”)
$sname = “https://” . $sname;
else
$sname = “https://” . $sname;
This method creates addresses without www which causes the plugin not to work with my site.
Anyway the get_current_URL function is too dumb and there are hundreds of better ways to get the current address correctly!
I hope you have time to update it ASAP.