HAProxy reverse proxy documentation
Dieser Commit ist enthalten in:
Ursprung
6359268765
Commit
767c32b539
1 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
|
@ -145,6 +145,19 @@ server {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### HAProxy
|
||||||
|
```
|
||||||
|
frontend https-in
|
||||||
|
bind :::443 v4v6 ssl crt mailcow.pem
|
||||||
|
default_backend mailcow
|
||||||
|
|
||||||
|
backend mailcow
|
||||||
|
option forwardfor
|
||||||
|
http-request set-header X-Forwarded-Proto https if { ssl_fc }
|
||||||
|
http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
|
||||||
|
server mailcow 127.0.0.1:8080 check
|
||||||
|
```
|
||||||
|
|
||||||
## Optional: Setup a relayhost
|
## Optional: Setup a relayhost
|
||||||
|
|
||||||
Insert these lines to `data/conf/postfix/main.cf`. "relayhost" does already exist (empty), just change its value.
|
Insert these lines to `data/conf/postfix/main.cf`. "relayhost" does already exist (empty), just change its value.
|
||||||
|
|
Laden …
In neuem Issue referenzieren