嗨,我希望我的traefik代理不做代理就将用户重定向到远程url。这可行吗?我在我的yaml中使用中间件
traefik.yml
version: '3'
services:
reverse-proxy:
# The official v2 Traefik docker image
image: traefik:v2.5
# Enables the web UI and tells Traefik to listen to docker
command:
- "--api.insecure=true"
我正在尝试使用Docker中的Traefik反向代理来设置一个示例应用程序。
我在这个项目中使用,它与Traefik.v1.0有很大的不同。
这是我的docker-compose.yml文件:
version: '3'
services:
traefik:
# The official v2 Traefik docker image
image: traefik:v2.2
# Enables the web UI and tells Traefik to listen to docker
command:
- --api.ins