mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 22:34:04 +00:00
add note about reverse proxies and firewalls for #117
This commit is contained in:
parent
8373f94926
commit
4946ba61bf
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue