Skip to content

Commit

Permalink
add note about reverse proxies and firewalls for mailhog#117
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-kent committed Nov 14, 2016
1 parent 122ec63 commit 4302654
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 4302654

Please sign in to comment.