forked from infra/ansible
kojipkgs: disable indexes on ostree/repo/objects directories
These directories have usually around 32k objects in them. This means when a client asks for a directory index for them it takes kojipkgs a few minutes to actually generate it, because it has to stat every single file in order to show timestamps and sizes. This means it fills up all slots doing this and the proxies start getting 503's from it on other requests. I don't _think_ ostree needs this enabled for any reason. If it did, it would always have been a problem. I think it's just some clients/crawlers deciding they want the directory index. So, lets just deny indexes on directories under there. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
bd716659c6
commit
094eeb99e8
1 changed files with 6 additions and 0 deletions
|
|
@ -17,6 +17,12 @@ Alias /ostree /mnt/fedora_koji/koji/ostree
|
|||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /mnt/fedora_koji/koji/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