static: provide git services
This creates the redirect sites git.airshipit.org git.openstack.org git.starlingx.io git.zuul-ci.org The htaccess rules are put into the main configuration file to avoid having to create a directory and manage another file. We use a macro to duplicate the rules and retain the old semantics of the http site redirecting directly (as opposed to doing a extra 301 to https://git.openstack.org first). This required adding "/" to the "^" matches as it now runs in VirtualHost context; no functional change is intended over the old sites. This will require _acme-challenge CNAMEs to acme.opendev.org before being merged. testinfra is updated to exercise some redirects matching against the results of the extant sites. Change-Id: Iaa9d5dc2af3f5f8abc11c2312e4308b50f5fcd2b
This commit is contained in:
@@ -13,6 +13,14 @@ letsencrypt_certs:
|
||||
- docs.openstack.org
|
||||
static01-docs-starlingx-io:
|
||||
- docs.starlingx.io
|
||||
static01-git-airshipit-org:
|
||||
- git.airshipit.org
|
||||
static01-git-openstack-org:
|
||||
- git.openstack.org
|
||||
static01-git-starlingx-io:
|
||||
- git.starlingx.io
|
||||
static01-git-zuul-ci-org:
|
||||
- git.zuul-ci.org
|
||||
static01-governance-openstack-org:
|
||||
- governance.openstack.org
|
||||
static01-service-types-openstack-org:
|
||||
|
||||
Reference in New Issue
Block a user