correct haproxy1x name
This commit is contained in:
31
haproxy1x.basic
Normal file
31
haproxy1x.basic
Normal file
@@ -0,0 +1,31 @@
|
||||
global
|
||||
maxconn 4096
|
||||
user haproxy
|
||||
group haproxy
|
||||
daemon
|
||||
log 127.0.0.1 local0 debug
|
||||
|
||||
defaults
|
||||
log global
|
||||
mode http
|
||||
option httplog
|
||||
option dontlognull
|
||||
retries 3
|
||||
option redispatch
|
||||
option http-server-close
|
||||
option forwardfor
|
||||
maxconn 2000
|
||||
timeout connect 5s
|
||||
timeout client 15min
|
||||
timeout server 15min
|
||||
|
||||
frontend public
|
||||
bind :::80 v4v6
|
||||
option forwardfor except 127.0.0.1
|
||||
#use_backend webcam if { path_beg /webcam/ }
|
||||
default_backend octoprint
|
||||
|
||||
backend octoprint
|
||||
reqrep ^([^\ :]*)\ /(.*) \1\ /\2
|
||||
option forwardfor
|
||||
server octoprint1 127.0.0.1:5000
|
||||
Reference in New Issue
Block a user