diff --git a/playbooks/groups/download.yml b/playbooks/groups/download.yml index daed9b846a..23628b1553 100644 --- a/playbooks/groups/download.yml +++ b/playbooks/groups/download.yml @@ -38,6 +38,7 @@ - rsyncd - { role: nfs/client, when: datacenter == "iad2" or datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' } - { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/mnt/koji/compose', nfs_src_dir: 'fedora_koji/koji/compose' } # needed for internal sync + - { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/srv/odcs', nfs_src_dir: 'fedora_odcs' } # needed for internal sync - sudo - { role: openvpn/client, when: vpn == True } diff --git a/roles/download/files/httpd/dl.fedoraproject.org/secondary.conf b/roles/download/files/httpd/dl.fedoraproject.org/secondary.conf index 0a5a00577c..be85ad32d8 100644 --- a/roles/download/files/httpd/dl.fedoraproject.org/secondary.conf +++ b/roles/download/files/httpd/dl.fedoraproject.org/secondary.conf @@ -1,4 +1,5 @@ Alias /pub /srv/pub +Alias /odcs /srv/odcs DocumentRoot /srv/web @@ -17,6 +18,22 @@ DocumentRoot /srv/web + + HeaderName /HEADER.html + ReadmeName /FOOTER.html + Options Indexes FollowSymLinks + + # Apache 2.4 + Require all granted + IndexOptions NameWidth=* FancyIndexing + + + # Apache 2.2 + Order allow,deny + Allow from all + + + HeaderName /HEADER.html ReadmeName /FOOTER.html