增加openresty

master
pan 4 years ago
parent 14c0e62471
commit 1304129482
  1. 5
      conf/nginx.conf
  2. 2
      run

@ -21,5 +21,10 @@ set $target '';
';
proxy_pass $target;
}
location ~ /api{
proxy_pass http://127.0.0.1:2233
}
}
}

2
run

@ -1,3 +1,3 @@
#!/bin/sh
#创建运行容器
docker run --name test -p 3000:3000 -p 2233:2233 test:1.0
docker run --name test -p 8080:8080 test:1.0

Loading…
Cancel
Save