Conversation
this means you can do things like prefix-based reverse-proxying and reverse-proxying in general, actually
|
Hi Cosmic! Thanks for your work, making kvass work properly with reverse proxies was on the todo list for (too) long and I'm happy you made it happen :) I'm too tired for a proper review today, but will look at it tomorrow. Some quick questions in the meantime:
|
unsetting the remote is much more trivial now, for instance
|
re: migrations, I don't typically work with/on databases (I put points into shell instead), so I'm not entirely sure what that would look like |
|
Thanks for the quick adjustments. The migration would actually have little db logic in it and would be at the end of
There's already some code for the last schema migration, but this one is even simpler. |
|
I checked these commits out and there are still some issues, but overall they fix most of my issues when using a reverse proxy; The remote works, but there are misc non-breaking errors. This build also prohibits the usage of IP for remotes. |
this means you can do things like prefix-based reverse-proxying and reverse-proxying in general, actually
it also knows about proxying to subfolders and thus uses a url-base, meaning you can do something like
kvass config remote https://my.normal.website/secret/kvass/example setup with caddy
server:
kvass --bind=localhost:8081(you can also bind to 0.0.0.0 if the reverse proxy is off-system)proxy:
clients:
kvass config key ... && kvass config remote https://my.domain/secret/prefix/kvass/Note that the trailing
/is important.