1 Star 0 Fork 215

lanzxcoolbreeze/zrlog

forked from xiaochun/zrlog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nginx-zrlog-dev.conf 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
xiaochun 提交于 2022-04-11 08:02 . Ad
server {
listen 3001;
location / {
proxy_pass http://localhost:8080;
}
location /admin/ {
proxy_pass http://localhost:3000;
}
location /install/ {
proxy_pass http://localhost:3000;
}
location /api {
proxy_pass http://localhost:8080;
}
location /admin/plugins/ {
proxy_pass http://localhost:8080;
}
location /admin/template/ {
proxy_pass http://localhost:8080;
}
location /admin/logout {
proxy_pass http://localhost:8080;
}
location /vendors {
# 替换为实际的文件夹路径
alias /Users/xiaochun/git/zrlog/admin-web/src/main/frontend/public/vendors;
}
location /admin/vendors {
# 替换为实际的文件夹路径
alias /Users/xiaochun/git/zrlog/admin-web/src/main/frontend/public/vendors;
}
location /static {
proxy_pass http://localhost:3000;
}
location /sockjs-node {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lanzxcoolbreeze/zrlog.git
[email protected]:lanzxcoolbreeze/zrlog.git
lanzxcoolbreeze
zrlog
zrlog
master

搜索帮助