Hot answers tagged

3 votes
Accepted

Postfix/Dovecot relay or proxy?

TL;DR: You can use HAproxy in front of SMTP servers that are MX hosts only to do load balancing. You can not use it to select which server to route a request to based on some domain name. All the ...
Nikita Kipriyanov's user avatar
2 votes

Postfix/Dovecot relay or proxy?

The multiplexing is handled by the application protocol. Haproxy knows HTTP so it can deal with the HTTP traffic. OTOH it doesn't speak SMTP. While you could route the traffic based on Postfix ...
symcbean's user avatar
  • 22.2k
1 vote
Accepted

Django uwsgi behind haproxy: http or http-socket?

haproxy doesn't support uWSGI directly. You need to use http-socket. You can also enable support for PROXY protocol with --http-enable-proxy-protocol to preserve a client's IP address.
AlexD's user avatar
  • 9,849
1 vote

Postfix/Dovecot relay or proxy?

With postfix you don't need to reverse proxy, postfix can handle multiple domains In your postfix main.cf you create transport_maps = hash:/etc/postfix/transport And also specify for which domains ...
Turdie's user avatar
  • 2,514
1 vote

Client 443/HTTPS -> Virtual IP -> HA Proxy 80/HTTP and 443/HTTPS SSL terminaison -> Varnish 81/HTTP -> 82/HTTPS and 442/HTTPS Apache

Step 1: ensure HAProxy sends the X-Forwarded-Proto header As mentioned in https://stackoverflow.com/questions/77885246/client-443-https-virtual-ip-ha-proxy-80-http-and-443-https-ssl-terminaison/...
Thijs Feryn's user avatar
  • 1,226
1 vote

Route Docker container traffic through another container

In the most recent versions of docker-compose this can be done using network_mode: "container:name" version: '3' services: nginx_proxy: image: nginx ports: - "8080:80&...
Turdie's user avatar
  • 2,514

Only top scored, non community-wiki answers of a minimum length are eligible