Skip to content

Commit

Permalink
Merge pull request #273 from paulholden/mailpit-webroot
Browse files Browse the repository at this point in the history
Specify webroot environment variable for Mailpit.
  • Loading branch information
stronk7 authored Nov 13, 2023
2 parents 485d6dd + 1727c80 commit 00b5bd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions assets/web/apache2_mailpit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

Redirect "/_/mail" "/_/mail/"

ProxyPass "/_/mail/api/events" "ws://mailpit:8025/api/events"
ProxyPassReverse "/_/mail/api/events" "ws://mailpit:8025/api/events"
ProxyPass "/_/mail/api/events" "ws://mailpit:8025/_/mail/api/events"
ProxyPassReverse "/_/mail/api/events" "ws://mailpit:8025/_/mail/api/events"

ProxyPass "/_/mail/" "http://mailpit:8025/"
ProxyPassReverse "/_/mail/" "http://mailpit:8025/"
ProxyPass "/_/mail/" "http://mailpit:8025/_/mail/"
ProxyPassReverse "/_/mail/" "http://mailpit:8025/_/mail/"
4 changes: 3 additions & 1 deletion service.mail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ services:
depends_on:
- mailpit
mailpit:
image: axllent/mailpit
image: axllent/mailpit:v1.10
environment:
MP_WEBROOT: /_/mail/

0 comments on commit 00b5bd4

Please sign in to comment.