Create dozzle.subfolder.conf.sample, scope.subfolder.sample and jenkins.subfolder.conf.sample:

Settings taken from: https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy

(Also has settings for a Subdomain sample if ya want)
This commit is contained in:
J. Scott Elblein 2019-12-03 01:56:42 -06:00
commit d84249cee6
3 changed files with 52 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# First either add "--base /dozzle" or "-e DOZZLE_BASE=/dozzle" to your docker run command, and restart the Dozzle container
location /dozzle {
return 301 $scheme://$http_host/dozzle/;
return 301 $scheme://$host/dozzle/;
}
location ^~ /dozzle/ {
# enable the next two lines for http auth