forked from infra/ansible
kojipkgs: disallow indexes on compose/{iot|ostree}/objects too
These directories have 32k entries and when scrapers hit them it causes kojipkgs to slow to a crawl since it takes minutes to stat all those files. There is no need to allow indexes here, as ostree doesn't need or use them, so just disallow it so the scrapers don't nuke kojipkgs. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
0a63d89212
commit
f97891fe72
1 changed files with 12 additions and 0 deletions
|
|
@ -23,6 +23,18 @@ Alias /ostree /mnt/fedora_koji/koji/ostree
|
|||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /mnt/fedora_koji/koji/compose/iot/repo/objects>
|
||||
Options -Indexes +FollowSymLinks
|
||||
FileETag None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /mnt/fedora_koji/koji/compose/ostree/repo/objects>
|
||||
Options -Indexes +FollowSymLinks
|
||||
FileETag None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
Alias /atomic-cd /mnt/fedora_koji/koji/atomic-cd
|
||||
|
||||
<Directory /mnt/fedora_koji/koji/atomic-cd>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue