Hi guys,
I have trouble to set up RavenDB in kubernetes cluster behind the Nginx reverse-proxy. Basically problem is with unexpected redirection in RavenDB which ignore subpath set in nginx.conf.
RavenDb settings:
{
"Setup.Mode": "None",
"DataDir": "/data/RavenData",
}
Nginx settings:
raven ravendb.{clusterName}:8080
Basically in Nginx settings I map Ravendb service running in the cluster to the endpoint which will be possible hit from outside.
RavenDb service.yaml settings:
When I try to run RavenDB in kubernetes without a reverse proxy, everything works fine.
Can you explain my why I get redirection and whether is it possible to run Ravendb behind the reverse proxy ?