Howto rewrite paths with traefik when using path prefix rules?

不想你离开。 提交于 2019-12-04 06:55:46

Maybe you should add all possible values in your PathPrefixStrip: / blog rule eg.

PathPrefixStrip: /blog,/wp-admin,/abc,/xyz

In many cases, it works for standard routes. The biggest problem is when your backend service does not listen to requests in the root / but in some sub-dir /something/index.html and that sub-dir takes resources from the root /.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!