Skip to content

Commit

Permalink
[DOC] server.basePath vs server.rewriteBasePath (elastic#106798)
Browse files Browse the repository at this point in the history
* server.basePath vs server.rewriteBasePath

Moving content to make pronoun commentary applicable to correct nouns. Lined up to https://www.elastic.co/guide/en/kibana/6.8/settings.html

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
  • Loading branch information
stefnestor and gchaps committed Jul 27, 2021
1 parent d8c2d9a commit 7a5b145
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/developer/advanced/development-basepath.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

In dev mode, {kib} by default runs behind a proxy which adds a random path component to its URL.

You can set this explicitly using `server.basePath` in <<settings>>.
You can set this explicitly using <<server-basePath,`server.basePath`>>. This setting cannot end in a slash (/).

Use the server.rewriteBasePath setting to tell {kib} if it should remove the basePath from requests it receives, and to prevent a deprecation warning at startup. This setting cannot end in a slash (/).
Use <<server-rewriteBasePath,`server.rewriteBasePath`>> to tell {kib} if it should remove the basePath from requests it receives, and to prevent a deprecation warning at startup.

If you want to turn off the basepath when in development mode, start {kib} with the `--no-base-path` flag

Expand All @@ -15,4 +15,3 @@ yarn start --no-base-path
----



0 comments on commit 7a5b145

Please sign in to comment.