Skip to content

Commit

Permalink
add a temporary config that serves as a download location
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Stinson <[email protected]>
  • Loading branch information
bstinsonmhk committed Oct 8, 2021
1 parent 048a8ca commit 0c49b8a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions templates/etc/httpd/conf.d/35_download.conf.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName download.stream.rdu2.redhat.com
CustomLog logs/download.stream.rdu2.redhat.com combined
ErrorLog logs/download.stream.rdu2.redhat.com_error.log
DocumentRoot /mnt/centos
AddDescription "{{ inventory_hostname }}" server.id
HeaderName /centos-design/header-centos.html
IndexIgnoreReset ON
IndexIgnore *~ *# HEADER* README* RCS CVS *,v *,t FOOTER.html

Header set Cache-Control "max-age=500,public"

</VirtualHost>

0 comments on commit 0c49b8a

Please sign in to comment.