mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 22:39:18 +01:00
docs: add missing base slash and remove non-existent nginx configuration (#2809)
This commit is contained in:
committed by
GitHub
parent
721e8e9e36
commit
32b8b02607
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user