mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 20:12:54 +08:00
21 lines
664 B
Plaintext
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.)
|