Proxy Pass Redirect Problem

david david at
Fri Dec 13 17:25:02 UTC 2013

Not sure if this is my configuration causing this symptom or openresty.

Here is whats happening.

If I try to access the store "admin"

I am getting proxy redirects sent to my browser and seeing in my address bar.

Not exactly the result I was looking for.

Any pointers where I should look?

Running ngx_openresty/

Here is my config

         location / {
             root  html;
             index index.php index.html index.htm;
             try_files $uri @store;
         location @wsgi {
                 include uwsgi_params;
                 uwsgi_pass unix://tmp/spften.sock;

         location @store {
                 include uwsgi_params;
                 proxy_intercept_errors on;
                 #recursive_error_pages on;
                 error_page 404, 502 = @wsgi;

Thanks in advance for any pointers.

More information about the nginx mailing list