Comments (4)
# 访问IP,则会自动访问对应地址IP:6412
location / {
proxy_pass http://localhost:6412/;
}
我改成了这样,就可以直接访问IP进行转发了,好奇怪
from van-nav.
如果想通过子路径访问,还应该修改一些 nginx 配置,之前我踩过坑,记不太清楚了。但原理大概是要保证把你访问的 url 中的 pathname 中截取制定的前缀后,再反代到处理后的 pathname。
我建议你通过不同的域名进行反向代理比较合适。如果非要这么做,暂时我没有现成的方案(配置文件)可以给你直接用,等我有时间的话,我会研究一下加到对应项目的文档里(可能要一阵子才会有时间做这个了)
from van-nav.
好的好的,我把nav项目配置成用域名直接访问就OK的,博主别再弄这个啦,有点浪费时间hh
from van-nav.
好的
from van-nav.
Related Issues (20)
- 页面多出一个空的按钮 HOT 2
- 希望可以增加一个设置,来控制每次打开导航页时默认显示的分类 HOT 2
- 登录成功,但进入不了管理后台 HOT 1
- 可以支持导入chrome导出的书签吗 HOT 1
- 可以支持默认logo吗? HOT 1
- API文档可以整理一下吗? 目前使用浏览器插件,相关api访问是404 HOT 1
- 虽然暂时不是很完美,但体验相当OK,谢谢! HOT 2
- 增加一个配置选项:搜索出现的引擎提示 HOT 1
- 能否支持自定义短链?
- 建议:可以增加背景吗
- 希望首页“全部工具”栏目里的内容可以按组展示
- 希望可以添加多用户支持
- 建议:增加环境变量HTTPS_PROXY支持
- 主站支持开启登录模式
- 管理后台密码重置问题
- 支持关闭搜索引擎集成功能,不想要搜索引擎
- 主站不显示Logo是有意为之吗
- svg格式logo不能正常显示
- 是否可以考虑加入“热门”的自动分类?
- 我登录了后台,什么前端还是不显示登录后显示的卡片
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from van-nav.