Added urlprefix for serving since I use a proxy and it seems useful#60
Added urlprefix for serving since I use a proxy and it seems useful#60skx merged 1 commit intoskx:masterfrom
Conversation
|
This seems like you're running an nginx reverse proxy, and trying to allow it to work with a specific prefix. So rather than: You're expecting visitors to use: Is that correct? So in your case you'd add If so I think this pull-request would solve the problem, but it is not the correct approach. I'd update the Am I missing something, or misunderstanding your use-case? |
|
So I do use So example workflow from my running server:
So it all work correctly because the html has the correct path for the proxy prefix. |
|
Now I understand, thank-you. I was going to suggest using relative-links instead, to avoid having to add a new configuration option, but it seems that gets annoying pretty quickly. (i.e. I could change I'll read your PR this evening/tomorrow and if there are no obviously problems I'll merge then. Thanks for your explanation, and your contribution :) |
|
This took longer than expected; but I'll merge now and cleanup soon. Thanks again for your contribution :) |
This fixes the links in the list, as well as the redirect target which is used to reload the page. This was missing from #60.
Has some hackiness in it, but can be used for reference if nothing else. I need to handle URI correctly because of my nginx proxy. Otherwise works great.