NGINX / FASTCGI specialist to fix a cache issue with a Rewrite rule (php app).

Job ID: 34428528

Budget: $30 – $250 USD

I am looking for an NGINX / FASTCGI specialist to fix a cache issue with a Rewrite rule.

I have two dynamic links (php app):

First:
www.example.com/path/dynamic_part

Second:
www.example.com/path_second/dynamic_part

The rewrite rules are the following:

First:
rewrite ^/(.*)/path/(.*)$ /path/index.php?partner=$1&order=$2 last;

Second:
rewrite ^/(.*)/path_second/(.*)$ /path_second/index.php?partner=$1&order=$2 last;

THE PROBLEM
If I open www.example.com/path/dynamic_part in a browser, and then, www.example.com/path_second/dynamic_part, it will show "file not found" for the /path_second/ version. However, it is always showing right for the /path/ version.

The NGINX access log is showing:
"GET / HTTP/1.1" 200 2587 "-" "ELB-HealthChecker/2.0"

Please contact me via chat and I will send you a way to test the issue from our live server.
Related categories: PHP Perl Linux Nginx