kaizoku icon indicating copy to clipboard operation
kaizoku copied to clipboard

Support base path for reverse proxies

Open nickexyz opened this issue 2 years ago • 3 comments

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

nickexyz avatar Jan 20 '23 23:01 nickexyz

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

oae avatar Jan 28 '23 22:01 oae

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!

nickexyz avatar Jan 30 '23 19:01 nickexyz

Any news regarding this topic ? I don’t like to run application on port only. Thanks you :)

Zwordi avatar May 31 '24 07:05 Zwordi