Skip to content

Commit 8a4ec47

Browse files
Add files via upload
Create dozzle.subfolder.conf.sample
1 parent d11f02f commit 8a4ec47

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

dozzle.subfolder.conf.sample

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# First either add "--base /dozzle" or "-e DOZZLE_BASE=/dozzle" to your docker run command, and restart the Dozzle container
2+
3+
location /dozzle {
4+
return 301 $scheme://$http_host/dozzle/;
5+
}
6+
location ^~ /dozzle/ {
7+
# enable the next two lines for http auth
8+
#auth_basic "Restricted";
9+
#auth_basic_user_file /config/nginx/.htpasswd;
10+
11+
# enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf
12+
#auth_request /auth;
13+
#error_page 401 =200 /login;
14+
15+
include /config/nginx/proxy.conf;
16+
chunked_transfer_encoding off;
17+
proxy_buffering off;
18+
proxy_cache off;
19+
resolver 127.0.0.11 valid=30s;
20+
set $upstream_dozzle dozzle;
21+
proxy_pass http://$upstream_dozzle:8080;
22+
}

0 commit comments

Comments
 (0)