debuginfod: tweak server configuration and proxy frontend

Codify a few debuginfod process parameters that appear to be working well.

Adjust incoming proxies to redirect the "/" URL to a wiki page, as
requested by FESCO.
This commit is contained in:
Frank Ch. Eigler 2021-05-07 11:25:09 -04:00 committed by fche
parent 35ef387669
commit 47b5976abd
3 changed files with 20 additions and 4 deletions

View file

@ -1,8 +1,8 @@
#
DEBUGINFOD_PORT="8002"
DEBUGINFOD_VERBOSE="-vv"
#DEBUGINFOD_VERBOSE="-vv"
DEBUGINFOD_PATHS="--fdcache-fds=512 -t3600 -R /mnt/fedora_koji_prod/koji/packages -X /data/ -I \.(module_f|fc)(32|33|34|35)[.+].*\.rpm"
DEBUGINFOD_PATHS="--fdcache-fds=512 -t43200 -g604800 -c6 -vv -R /mnt/fedora_koji_prod/koji/packages -X /data/ -I \.(module_f|fc)(32|33|34|35)[.+].*\.rpm"
# prefer reliability/durability over performance
#DEBUGINFOD_PRAGMAS="-D 'pragma synchronous=full;'"

View file

@ -872,3 +872,10 @@
website: qa.fedoraproject.org
path: /
target: https://fedoraproject.org/wiki/QA
# redirects for debuginfod main page
- role: httpd/redirect
shortname: debuginfod
website: debuginfod.fedoraproject.org
regex: /(index.html)?$
target: https://fedoraproject.org/wiki/Debuginfod

View file

@ -751,8 +751,17 @@
- role: httpd/reverseproxy
website: debuginfod.fedoraproject.org
destname: debuginfod
remotepath: /
localpath: /
remotepath: /buildid/
localpath: /buildid/
proxyurl: http://debuginfod01:8002
proxyopts: "connectiontimeout=600 timeout=600 keepalive=on"
tags: debuginfod
- role: httpd/reverseproxy
website: debuginfod.fedoraproject.org
destname: debuginfod
remotepath: /metrics
localpath: /metrics
proxyurl: http://debuginfod01:8002
proxyopts: "connectiontimeout=600 timeout=600 keepalive=on"
tags: debuginfod