gessnerfl / fake-smtp-server

A simple SMTP Server for Testing purposes. Emails are stored in an in-memory database and rendered in a Web UI
Apache License 2.0
432 stars 90 forks source link

Add working on subpath #463

Closed aglumov closed 5 months ago

aglumov commented 5 months ago

Can you add parameters so web ui is accessible on subpath, e.g. localhost:8080/fakesmtp ? I tried to add rewrite rule on nginx as reverse proxy, but without support from fake smtp this doesn't work...

aglumov commented 5 months ago

I've found solution for docker image: add to env vars SERVER_SERVLET_CONTEXT_PATH: /fakesmtp