kibana/docs/developer/advanced/development-basepath.asciidoc
Stacey Gammon a20469f038
Clean up the developer guide (#71631)
* rename float to discrete

* use same section title level on all source files

* Elasticsearch => {es}

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-16 10:13:51 -04:00

18 lines
587 B
Text

[[development-basepath]]
== Considerations for basepath
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>>.
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 (/).
If you want to turn off the basepath when in development mode, start {kib} with the `--no-basepath` flag
[source,bash]
----
yarn start --no-basepath
----