Files
fedora-infra_ansible/roles/httpd/reverseproxy/templates/reversepassproxy.koji.conf
2025-07-11 11:16:09 -07:00

26 lines
635 B
Plaintext

ProxyPreserveHost On
# This needs to be massive due to koji's completeBuild with texlive (https://pagure.io/koji/issue/259)
ProxyTimeout 10800
TimeOut 10800
# temp block access to heavy query kojiweb endpoints to keep crawlers at bay
RewriteEngine On
#RewriteCond %{REQUEST_URI} ^/koji/fileinfo$
#RewriteRule .* - [F]
#RewriteCond %{REQUEST_URI} ^/koji/buildrootinfo$
#RewriteRule .* - [F]
#RewriteCond %{REQUEST_URI} ^/koji/buildroots.*$
#RewriteRule .* - [F]
#RewriteCond %{REQUEST_URI} ^/koji/rpminfo.*$
#RewriteRule .* - [F]
{% if datacenter == 'rdu3' %}
{% include "reversepassproxy.conf-nonopenshift-rdu3" %}
{% endif %}