Nova Resource:Redirects

From Wikitech
Project Name redirects
Details,
admins/members
openstack-browser
Monitoring

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

  1. 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/
  2. Force a puppet run on redirects-nginx02.redirects.eqiad.wmflabs to create the new vhost.
  3. Use Horizon to delete the proxy from the Cloud VPS project that is giving it up.
  4. Use Horizon to add the proxy to the redirects project with http://redirects-nginx02.redirects.eqiad.wmflabs:80 as the backend.
  5. Test the redirected URL to ensure that it all works.
  6. Profit!

Server admin log

2022-08-05

  • 21:33 bd808: Added php-security-checker.wmcloud.org proxy (T314677)

2022-03-07

  • 17:30 taavi: set up redirects for wcqs-beta T303202

2020-07-13

  • 22:12 bd808: Add codesearch.wmflabs.org (T256206)

2020-04-30

  • 17:26 bd808: Added proxy for wikistream.wmflabs.org (T236551)

2019-11-04

  • 06:10 bd808: Deleted redirects-nginx01 (T236537)
  • 06:08 bd808: Deleted and recreated web proxies to point to redirects-nginx02 (T236537)
  • 05:30 bd808: Bui... (more)