add note about reverse proxies and firewalls for #117

This commit is contained in:
Ian Kent 2016-11-14 22:58:27 +00:00
parent 8373f94926
commit 4946ba61bf
No known key found for this signature in database
GPG key ID: 8E877B590FA10569

View file

@ -51,3 +51,12 @@ the following structure, and set `MH_OUTGOING_SMTP` or `-outgoing-smtp`.
Only `name`, `host` and `port` are required. Only `name`, `host` and `port` are required.
`mechanism` can be `PLAIN` or `CRAM-MD5`. `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.