HAProxy community

Haproxy Favicon


Hello all, I have Octoprint installed on a raspberry pi and cant seem to figure out how to allow a favicon to show up for the haproxy login. Any help would be awesome


What does “haproxy login” mean? Can you elaborate and share your configuration?


maxconn 4096
user haproxy
group haproxy
log local0 debug

log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
option http-server-close
option forwardfor
maxconn 2000
timeout connect 10s
timeout client 15min
timeout server 15min

frontend public
acl favicon path /favicon.ico
bind :::3150 v4v6
use_backend webcam if { path_beg /webcam/ }
default_backend octoprint

backend octoprint
reqrep ^([^\ :])\ /(.) \1\ /\2
option forwardfor
server octoprint1
acl AuthOkay http_auth(L1)
http-request auth realm octoprint if !AuthOkay

backend webcam
reqrep ^([^\ :])\ /webcam/(.) \1\ /\2
server webcam1

userlist L1
group G1
user Resist10k insecure-password NrUW71qLX1aV*O9 groups G1



acl AuthOkay http_auth(L1)
acl AuthOkay path /favicon.ico
http-request auth realm octoprint if !AuthOkay