upstream api { server localhost:55001; } server { listen 80; location = / { root /usr/local/sbin/app; index index.html index.htm; try_files $uri /index.html; } location / { proxy_pass http://api/; } }



192.168.0.10/으로 접속하면 웹으로 보내고

192.168.0.10/foo나

192.168.0.10/bar 같이 나머지 로 접속하면 55001포트로 보내고 싶으면 어캄?