I have .conf file like this
events {
worker_connections 1024;
}
http {
server {
listen 80;
location / {
proxy_pass http://example.com;
}
location /app {
proxy_pass http://www.example.org/application;
}
}
}
When i ran the above the above conf file for localhost/80 it is showing correctly. but when i used localhost/80/app it is showing 404 page not found
.
Do i have to keep only one location field in one server?
May i know what wrong i am doing?
Thanks