From 4946ba61bf39c1bfa7131fd9d4bc96d87a82f2e1 Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Mon, 14 Nov 2016 22:58:27 +0000 Subject: [PATCH] add note about reverse proxies and firewalls for #117 --- docs/CONFIG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/CONFIG.md b/docs/CONFIG.md index b502665..91e625b 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -51,3 +51,12 @@ the following structure, and set `MH_OUTGOING_SMTP` or `-outgoing-smtp`. Only `name`, `host` and `port` are required. `mechanism` can be `PLAIN` or `CRAM-MD5`. + +### Firewalls and proxies + +If you have MailHog behind a firewall, you'll need ports `8025` and `8080` by default. + +You can override this using `-api-bind-addr`, `-api-bind-addr` and `-api-bind-addr` configuration options. + +If you're using MailHog behind a reverse proxy, e.g. nginx, make sure WebSocket connections +are also supported and configured - see [this issue](https://github.com/mailhog/MailHog/issues/117) for information.