Hello
I try a simple configuration with an nginx v1.10.13. The configuration :
events
{
}
http
{
server
{
listen 80;
location = /loc1
{
proxy_pass http://192.168.0.5:80/;
}
}
}
and try this configuration with curl --data "param1=XXX" -X POST http://192.168.0.4:80/loc1
I watch 192.168.0.5 incoming connection and nothing come.
I really don't understand what is wrong, the configuration is very simple. I match all connexion on port 80, and all loc1 location. So why my curl command fail ? curl command return Not found: /...
I try a simple configuration with an nginx v1.10.13. The configuration :
events
{
}
http
{
server
{
listen 80;
location = /loc1
{
proxy_pass http://192.168.0.5:80/;
}
}
}
and try this configuration with curl --data "param1=XXX" -X POST http://192.168.0.4:80/loc1
I watch 192.168.0.5 incoming connection and nothing come.
I really don't understand what is wrong, the configuration is very simple. I match all connexion on port 80, and all loc1 location. So why my curl command fail ? curl command return Not found: /...