[Ingress] minikube addons enable ingress 失败 #91
916980name
started this conversation in
General
Replies: 1 comment
-
如果通过ingress访问前后端分离项目前端react+nginx docker,后端java+jdk docker
如果是想要通过path rewrite进行分离的项目,写成这样,这个rewrite也会影响frontend。
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我看有人说还是gcr的问题,但是有个一句话解决方案,不知道有没有同样问题的,希望能节省你的时间:
kubernetes/minikube#10544 (comment)
此时可以通过
minikube ip
的IP来访问,如http://192.168.49.2/
但是
想要给本地网络提供服务
尝试
加
sudo
行80不给用是吧,换个高位端口成功:
此时可以通过本地网卡的IP来访问,有线无线回环皆可,如
http://192.168.0.200:18080/hello
但是,我今天非要用上80
非要用上80端口
前面加个nginx吧
curl一下
舒服了
Beta Was this translation helpful? Give feedback.
All reactions