Browse Source
Merge pull request #183 from jkaberg/traefik_example_proxy
traefik proxy example
pull/184/head
Daniel García
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
16 additions and
1 deletions
-
PROXY.md
|
|
@ -78,3 +78,18 @@ server { |
|
|
|
ProxyRequests Off |
|
|
|
</VirtualHost> |
|
|
|
``` |
|
|
|
|
|
|
|
## Traefik (docker-compose example) |
|
|
|
```traefik |
|
|
|
labels: |
|
|
|
- 'traefik.frontend.rule=Host:vault.example.local' |
|
|
|
- 'traefik.docker.network=traefik' |
|
|
|
- 'traefik.port=80' |
|
|
|
- 'traefik.enable=true' |
|
|
|
- 'traefik.web.frontend.rule=Host:vault.example.local' |
|
|
|
- 'traefik.web.port=80' |
|
|
|
- 'traefik.hub.frontend.rule=Path:/notifications/hub' |
|
|
|
- 'traefik.hub.port=3012' |
|
|
|
- 'traefik.negotiate.frontend.rule=Path:/notifications/hub/negotiate' |
|
|
|
- 'traefik.negotiate.port=80' |
|
|
|
``` |
|
|
|