我是 Traefik 的第一次用户,我使用 Traefik 和 Let's Encrypt Cert 成功为 Jira 配置了这个 docker compose 设置。
我的问题是 Jira 必须能够连接到他自己。它们是一些 Jira 服务,例如 Gadgets,它们通过 JavaScript 从他自己的地址通过 http 加载数据。这种类型的服务不适合我。他们的支持文档描述了这个问题并显示了解决方案。但我不知道如何使用 Traefik/Docker 正确设置它。https://confluence.atlassian.com/jirakb/how-to-fix-gadget-titles-showing-as-__msg_gadget-813697086.html
你的帮助会很大。多谢!
version: '3'
services:
reverse-proxy:
image: traefik # The official Traefik docker image
command: --docker # Enables the web UI and tells Traefik to listen to docker --api
ports:
- "80:80" # The HTTP port
- "443:443" # The HTTPS port
- "8081:8080" # The Web UI (enabled by --api)
hostname: …Run Code Online (Sandbox Code Playgroud)