Updates for nuster.

This commit is contained in:
2022-03-15 21:20:24 -04:00
parent a160e39d44
commit da5fb4dc20
2 changed files with 11 additions and 12 deletions
+3 -6
View File
@@ -2,6 +2,7 @@ global
log stdout format raw local0
# uid {{ haproxy_user.uid }}
# gid {{ haproxy_user.gid }}
nuster cache on dir /cache
defaults
log global
@@ -12,18 +13,14 @@ defaults
timeout server 10s
timeout http-request 10s
cache pkg_cache
total-max-size 4095
max-object-size 524288000
frontend http_frontend
# bind *:4433 ssl crt {{ container_cert_file }}
bind *:8080
default_backend pkg_repo
backend pkg_repo
http-request cache-use pkg_cache
http-response cache-store pkg_cache
nuster cache on
nuster rule r1 disk on memory off
option forwardfor
server server1 mirrors.gigenet.com:443 ssl