Nova Resource:Redirects/Documentation
Appearance
Redirects is intended to provide HTTP redirects for well known URLs that used to be hosted on Cloud VPS projects but are now running on Toolforge or other Wikimedia servers.
Redirects should not be made to servers that are not under Wikimedia control. Automatically redirecting to external servers without an interstitial warning to the end user is a potential privacy violation.
This service is not needed to handle redirecting something.wmflabs.org to something.wmcloud.org. That same name on new domain redirect process is handled automatically by the proxy service when a *.wmcloud.org proxy exists and a matching *.wmflabs.org does not exist.
Requesting a new redirect
File a bug report in Phabricator
Creating a new redirect as a Redirects project admin
- Use Horizon's Project Puppet tab to edit the Hiera configuration and add the proxied host and new destination to the
role::labs::redirector::redirects
hash.- e.g.
hatjitsu.wmcloud.org: https://hatjitsu.toolforge.org/
- e.g.
- Force a puppet run on redirects-nginx03.redirects.eqiad1.wikimedia.cloud to create the new vhost.
- Use Horizon to delete the proxy from the Cloud VPS project that is giving it up.
- Use Horizon to add the proxy to the redirects project with
http://redirects-nginx03.redirects.eqiad1.wikimedia.cloud:80
as the backend. - Test the redirected URL to ensure that it all works.
- Profit!