I am trying to configure Nginx as a proxy to http://example.com/test/app
My config is similar to this :
server {
listen 80;
location / {
proxy_pass http://example.com/test/app;
}
}
I am getting 301 response. I don't think this is something related to the web app the proxy is referring to, because its url is accessible via the browser.
I am quite new to Nginx. Please help. :)