This is my nginx rules for now : if ($http_referer ~ "^http?://[^/]+/xbmc"){ set $rule_0 1$rule_0; } if ($uri !~ "^/xbmc"){ set $rule_0 2$rule_0; } if ($request_method = POST) { set $rule_0 3$rule_0; } if ($request_method = GET) { set $rule_0 4$rule_0; } if ($rule_0 = "421"){ rewrite ^/(.*) /xbmc/$1; } if ($rule_0 = "321"){ rewrite ^/(.*)by lunarok - Migration from Other Servers
Hi, I have some applications behind an Apache proxy actually. Will replace it by nginx. Actually for my tests, very happy. But for few, I'm not able to reproduce the exact behaviour of Apache and still get errors. For exemple, my XBMC reverse. I have under Apache a redirect for GET and a passthrough for POST requests. I'm able to reproduce the rewritecond, but I'm failing to retrieve someby lunarok - Migration from Other Servers