crowbait commented on issue #5524:
URL: https://github.com/apache/couchdb/issues/5524#issuecomment-2901948428

   @idea-christian I just tried the session-based replication example from the 
docs (didn't work) and then dropped in your configuration and it *does* work 
for me. I see 2 issues:
   - you still had to add the `rewrite` directive, which isn't mentioned in the 
docs (and I had to add it too)
   - it seems like (no data besides my intuition) that the session-based 
replication isn't *that* optional.
   - 
   Consider this wording in the docs:
   > Session based replication is default functionality since CouchDB 2.3.0. To 
enable session based replication with reverse proxied CouchDB in a subdirectory.
   
   (Entirely subjective opinion incoming:) to me, this sounds like "yeah, 
session based replication is on by default, if you want to use it, use this 
config". Since it's the second entry in this section of the docs, I interpret 
that as "the first config example is the default, use that one, unless you want 
SBR". If that's not the case, maybe the wording in the docs could be updates to 
something like "if you're running CouchDB 2.3.0 or later, you should use this 
one, because SBR is now the default configuration".
   
   ...and still then, the provided configuration didn't work as-is. I'll refer 
to my original post and reiterate that I have insufficient knowledge of nginx 
to confidently say that the docs are wrong, but I *can* confidently say that 
the docs-example didn't work *for me* without tweaks.
   
   @nickva I don't know whether the "ping the dev chat" you intended to do 
resulted in some task or similar, but if so, this might be interesting to add.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to