Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add updated HEADER, and missing stagingyum entries #1869

Merged
merged 1 commit into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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