1 Star 0 Fork 317

ZXiaolon/停车,充电,停车系统,城市停车,智能智慧停车,停车场系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nginx.conf 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
13628621937 提交于 2023-11-22 11:55 . 开放所有核心源代码
server {
#接口
listen 80;
server_name localhost;
ngx_fastdfs_module;
add_header 'Access-Control-Allow-Origin' '*';
location ~ /(auth|friends|ucenter|appVersion)/.*$ {
proxy_pass http://ucenter;
}
location ~ /file/.*$ {
proxy_pass http://file;
}
location ~ /(carpark|carparkcar|carparklog|carparkcartype|carparkpackage|carparkChargingRules)/.*$ {
proxy_pass http://carpark;
}
location ~ /sms/.*$ {
proxy_pass http://sms;
}
location ~ /(coupon|pay|payNotify)/.*$ {
proxy_pass http://pay;
}
#后台管理
location ~ /(authAdmin|friendsAdmin|departmentAdmin|roleAdmin|ucenterAdmin|weixinConfigAdmin)/.*$ {
proxy_pass http://userAdmin;
}
location ~ /(carparkAdmin|carparkDeviceAdmin|carparkCheckPointDeviceAdmin|carparkcartypeAdmin|carparkUseLogAdmin|carparkpackageAdmin|carParkReleaseLogAdmin)/.*$ {
proxy_pass http://carparkAdmin;
}
location ~ /(orderAdmin|paymentAgencyAdmin|payCouponAdmin|userPaymentAgencyAdmin)/.*$ {
proxy_pass http://payMentAdmin;
}
}
upstream ucenter {
server localhost:8080 weight=10;
}
upstream file {
server localhost:8088 weight=10;
}
upstream carpark {
server localhost:8089 weight=10;
}
upstream sms {
server localhost:8085 weight=10;
}
upstream userAdmin {
server localhost:8091 weight=10;
}
upstream carparkAdmin {
server localhost:8092 weight=10;
}
upstream pay {
server localhost:8096 weight=10;
}
upstream payMentAdmin {
server localhost:8097 weight=10;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zxiaolon/caraprk_public.git
git@gitee.com:zxiaolon/caraprk_public.git
zxiaolon
caraprk_public
停车,充电,停车系统,城市停车,智能智慧停车,停车场系统
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385