kaizoku
kaizoku copied to clipboard
Support base path for reverse proxies
Feature Description
Thanks for making an awesome application!
It would be nice if we could run Kaizoku behind a reverse proxy with a custom base url/path, like example.com/kaizoku At the moment, all I get is a 404 when I try.
Solution you would like
I'm guessing the application have to be changed to support specifying a base path.
Alternatives you have considered
It's not a huge issue, since I can run it under a dedicated subdomain/port, but it would make my setup a bit more clean.
Additional context
No response
I tried to implement this but NextJS does not accept custom basepath on runtime. It has to be during build time which is not ideal in this case
Is it a big change to have build time support? If the possibility is there to change the base path at buildtime, that would be OK for me, as long as I know how. I get that it isn't perfect since it won't work with the Docker container, but until when/if NextJS get support for basepath on runtime, it seems like a reasonable way to do it.
I may be missing something though, I guess it could have some other consequences. :) Thanks for all your work!
Any news regarding this topic ? I don’t like to run application on port only. Thanks you :)