Ask questionsConfigurable URL base path

We can't find a way to use inbucket behind a nginx proxy as a subdirectory since all path are hard-coded to work as root directory.

Do you have any idea how to do such a thing ?

It could be nice to have something like this : http://some.domain/inbucket/


Answer questions jhillyerd

When I moved this to the backlog, I didn't realize it would take this long to finish the 3.0 beta... Off the top of my head, I'm not exactly sure how much work this would be. But I think we can make it part of 3.0 instead of waiting for a follow-up release.

The way we bootstrap config from Go to Elm is via this JSON pair (below), stuffing it into a cookie (hack!), that way no API calls (and URI paths) are involved during UI startup. Edit: I think I did this to avoid having Go generate index.html to make it easier to develop the Elm UI in a hot-reload server. There are probably better ways to do it.


I'm not yet sure how we'd need to modify the Elm code to make use of this. The nature of functional programming often requires things liked this to be plumbed through, as there is no easy way to get to a global configuration context.


Related questions

No questions were found.
Github User Rank List