Update Servers/Email/Mailcow.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 4s
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 4s
This commit is contained in:
@ -44,6 +44,22 @@ docker-compose up -d
|
|||||||
### Reverse-Proxy Configuration
|
### Reverse-Proxy Configuration
|
||||||
For the purposes of this document, it will be assumed that you are deploying Mailcow behind Traefik. You can use the following dynamic configuration file to achieve this:
|
For the purposes of this document, it will be assumed that you are deploying Mailcow behind Traefik. You can use the following dynamic configuration file to achieve this:
|
||||||
```yaml title="/srv/containers/traefik/config/dynamic/mail.bunny-lab.io.yml"
|
```yaml title="/srv/containers/traefik/config/dynamic/mail.bunny-lab.io.yml"
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
mailcow-server:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
service: mailcow-http
|
||||||
|
rule: Host(`mail.bunny-lab.io`)
|
||||||
|
services:
|
||||||
|
mailcow-http:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: http://192.168.3.61:80
|
||||||
|
passHostHeader: true
|
||||||
|
|
||||||
tcp:
|
tcp:
|
||||||
routers:
|
routers:
|
||||||
mailcow-smtp:
|
mailcow-smtp:
|
||||||
|
Reference in New Issue
Block a user