Skip to content

Commit

Permalink
Add updated HEADER, and missing stagingyum entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms authored and ekohl committed Aug 28, 2023
1 parent 59c1f84 commit d3863fb
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/webserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ These domains are all hosted on the webserver.
* downloads.theforeman.org
* stagingdeb.theforeman.org
* yum.theforeman.org
* stagingyum.theforeman.org
* rsync.theforeman.org

### Fastly CDN
Expand All @@ -29,6 +30,7 @@ A Fastly CDN exists that sits in front of:
* downloads.theforeman.org
* stagingdeb.theforeman.org
* yum.theforeman.org
* stagingyum.theforeman.org

For these, the webserver acts as a backend while the content is served from the Fastly CDN to users.

Expand Down
17 changes: 17 additions & 0 deletions puppet/modules/web/files/stagingyum/HEADER.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<h1>stagingyum.theforeman.org</h1>

<h3>Staging Repositories for Foreman releases</h3>

<h3>Accessing this repo</h3>

This repository is available over HTTP, HTTPS and rsync:

<ul>
<li>http://stagingyum.theforeman.org</li>
<li>https://stagingyum.theforeman.org</li>
<li>rsync://rsync.theforeman.org/stagingyum</li>
</ul>

<h3>Support</h3>

<p>These are staging repositories used for testing purposes only. They are NOT supported.</p>
6 changes: 6 additions & 0 deletions puppet/modules/web/files/stagingyum/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
User-agent: *
Disallow: /foreman/
Disallow: /plugins/
Disallow: /katello/
Disallow: /client/
Disallow: /pulpcore/
2 changes: 2 additions & 0 deletions puppet/modules/web/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
'stagingdeb.theforeman.org',
'www.theforeman.org',
'yum.theforeman.org',
'stagingyum.theforeman.org',
],
webroot_paths => [
'/var/www/vhosts/web/htdocs',
Expand All @@ -40,6 +41,7 @@
'/var/www/vhosts/stagingdeb/htdocs',
'/var/www/vhosts/web/htdocs',
'/var/www/vhosts/yum/htdocs',
'/var/www/vhosts/stagingyum/htdocs',
],
}
}
Expand Down

0 comments on commit d3863fb

Please sign in to comment.