From 2449f35dc555d48b7c23a9db96139e1cb1d78dc1 Mon Sep 17 00:00:00 2001 From: Stef Nestor Date: Tue, 27 Jul 2021 13:48:31 -0600 Subject: [PATCH] [DOC] server.basePath vs server.rewriteBasePath (#106798) * 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> --- docs/developer/advanced/development-basepath.asciidoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/developer/advanced/development-basepath.asciidoc b/docs/developer/advanced/development-basepath.asciidoc index 30086288de834e..6ce55ade6ff28b 100644 --- a/docs/developer/advanced/development-basepath.asciidoc +++ b/docs/developer/advanced/development-basepath.asciidoc @@ -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 <>. +You can set this explicitly using <>. 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 <> 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 @@ -15,4 +15,3 @@ yarn start --no-base-path ---- -