1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-09-22 18:31:31 +02:00

Merge pull request #183 from jkaberg/traefik_example_proxy

traefik proxy example
This commit is contained in:
Daniel García 2018-09-15 20:03:34 +02:00 committed by GitHub
commit 071f3370e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,4 +77,19 @@ server {
ProxyPreserveHost On
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'
```