AllowEncodedSlashes NoDecode # Reverse-proxy /buildid/* queries ProxyPassMatch "^/buildid/(.*)$" "{{proxyurl}}/buildid/$1" {{proxyopts}} # Reverse-proxy /metadata* queries ProxyPassMatch "^/metadata(.*)$" "{{proxyurl}}/metadata$1" {{proxyopts}} # Reverse-proxy /metrics - without (...) grouping op, URL just gets copied ProxyPassMatch "^/metrics$" "{{proxyurl}}" {{proxyopts}} ProxyPassReverse / {{proxyurl}}/ # ... but not the top level, which is instead redirected ProxyPass / ! # Redirect / URL over to wiki Redirect permanent / https://fedoraproject.org/wiki/Debuginfod # 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.)