mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-02 13:06:58 +01:00
traefik example
This commit is contained in:
parent
b75ba216d1
commit
ee321be579
1 changed files with 16 additions and 1 deletions
17
PROXY.md
17
PROXY.md
|
@ -77,4 +77,19 @@ server {
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
</VirtualHost>
|
</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'
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue