Files
fedora-infra_ansible/roles/httpd/reverseproxy/templates/reversepassproxy.debuginfod.conf
2021-05-11 09:19:26 -07:00

21 lines
664 B
Plaintext

# Broadly reverse-proxy
ProxyPassMatch "^/(.*)$" "{{proxyurl}}/$1" {{proxyopts}}
ProxyPassReverse / {{proxyurl}}/
# ... but not the top level, which is instead redirected
ProxyPass / !
# ... configure this redirect in playbooks/include/proxies-redirects.yml
# Redirect permanent / https://fedoraproject.org/wiki/Debuginfod
# (or e.g.,)
# Redirect permanent / https://sourceware.org/elfutils/Debuginfod.html
# test it with:
#
# curl -i https://debuginfod.fedoraproject.org/
# curl -i https://debuginfod.fedoraproject.org/metrics
# curl -i https://debuginfod.fedoraproject.org/buildid/998feb12788309aa27465206ce4209be13ef5d9a/debuginfo
#
# (and ditto for .stg.)