big-r81 commented on code in PR #5557:
URL: https://github.com/apache/couchdb/pull/5557#discussion_r2121826818
##########
src/docs/src/best-practices/reverse-proxies.rst:
##########
@@ -221,6 +221,22 @@ as ``http(s)://domain.com/couchdb/db1/doc1`` are proxied to
}
+To proxy the URL ``http(s)://domain.com/couchdb`` to
+``http://localhost:5984`` so that requests appended to the subdirectory, such
+as ``http(s)://domain.com/couchdb/db1/doc1`` are proxied to
+``http://localhost:5984/db1/doc1``, you have to configure a route in Caddy and
strip the subdirectory from the target URI with ``uri strip_prefix``:
Review Comment:
the linter complains about this long line. please add a line break (max. 90
chars).
--
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]