How to exact match a nginx location?

2017-03-27 Thread Jun Chen via nginx
| I am configuring a nginx revser proxy. The result should be when user type http://10.21.169.13/mini, then the request should be proxy_pass to 192.168.1.56:5000. Here is the nginx config:server { listen 80; server_name 10.21.169.13; location = /mini {

Error with nginx reverse proxy setup

2017-03-18 Thread Jun Chen via nginx
Hi All, I am setting my first reverse proxy by following online posts. The problem is that when I type the http://my_ip_address/my_rev and it returns an 404 error: Not Found The requested URL was not found on the server.If you entered the URL manually please check your spelling and try again. He