From 32b8b02607fa0571c75c76338bcaae5ab221e344 Mon Sep 17 00:00:00 2001 From: Nikolaos Pothitos Date: Wed, 6 Mar 2024 02:10:01 +0200 Subject: [PATCH] docs: add missing base slash and remove non-existent nginx configuration (#2809) --- docs/guide/changing-base.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/guide/changing-base.md b/docs/guide/changing-base.md index e3afc0a5..f0ecb71a 100644 --- a/docs/guide/changing-base.md +++ b/docs/guide/changing-base.md @@ -4,12 +4,12 @@ title: Changing Application Base # Changing Dozzle Base -Dozzle by default mounts to "/". This can be changed with the `--base` flag. For example, if you want to mount to "/foobar" then you can use `--base foobar` or the env variable `DOZZLE_BASE`. +Dozzle by default mounts to "/". This can be changed with the `--base` flag. For example, if you want to mount to "/foobar" then you can use `--base /foobar` or the env variable `DOZZLE_BASE`. ::: code-group ```sh -docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir20/dozzle --base foobar +docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir20/dozzle --base /foobar ``` ```yaml [docker-compose.yml] @@ -22,7 +22,7 @@ services: ports: - 8080:8080 environment: - DOZZLE_BASE: foobar + DOZZLE_BASE: /foobar ``` ::: @@ -35,8 +35,6 @@ Here is an example with Nginx and proxy Dozzle with a different base: ```conf location ^~ /foobar/ { - include /config/nginx/proxy.conf; - include /config/nginx/resolver.conf; set $upstream_app dozzle; set $upstream_port 8080; set $upstream_proto http;