Problem with nginx rewrite rule


Here is the rule from apache

RewriteRule ^ats-plug-helper.php/?$ includes/ats.php

and here is my rule for nginx

rewrite ^/ats-plug-helper.php/?$ /includes/ats.php last ;

I`m using php-fpm for php files.

The problem is url works but not

Can you please tell me what i`m missing here ?


Posted at Nginx Forum:,75803,75803#msg-75803

Never mind, i fixed it on my own.

location /ats-plug-helper.php {
rewrite ^/ats-plug-helper.php/?$ /includes/ats.php last ;

Posted at Nginx Forum:,75803,75819#msg-75819

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs