优化docker-compose部署方案,支持最新版v3.5.7快速启动部署
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
#MaxKey nginx Proxy Docker Build
|
||||
|
||||
FROM nginx
|
||||
|
||||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
|
||||
#CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
@@ -16,22 +16,22 @@ server {
|
||||
#服务器集群路径
|
||||
#认证后端
|
||||
location /sign/ {
|
||||
proxy_pass http://192.168.0.104:9527/sign/;
|
||||
proxy_pass http://maxkey:9527/sign/;
|
||||
}
|
||||
|
||||
#认证前端
|
||||
location /maxkey/ {
|
||||
proxy_pass http://192.168.0.104:8527/maxkey/;
|
||||
proxy_pass http://maxkey-frontend:8527/maxkey/;
|
||||
}
|
||||
|
||||
#管理后端
|
||||
location /maxkey-mgt-api/ {
|
||||
proxy_pass http://192.168.0.104:9526/maxkey-mgt-api/;
|
||||
proxy_pass http://maxkey-mgt:9526/maxkey-mgt-api/;
|
||||
}
|
||||
|
||||
#管理前端
|
||||
location /maxkey-mgt/ {
|
||||
proxy_pass http://192.168.0.104:8526/maxkey-mgt/;
|
||||
proxy_pass http://maxkey-mgt-frontend:8526/maxkey-mgt/;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
Reference in New Issue
Block a user