Nova Resource:Redirects

From Wikitech
Jump to navigation Jump to search
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.

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.wmflabs.org: https://tools.wmflabs.org/hatjitsu/
  2. Force a puppet run on redirects-nginx01.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-nginx01.redirects.eqiad.wmflabs:80 as the backend.
  5. Test the redirected URL to ensure that it all works.
  6. Profit!
Edit documentation

Server admin log

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: Building redirects-nginx02 (T236537)
  • 05:26 bd808: Removed Rush as project member (T236537)

2019-09-11

  • 16:08 bd808: Fixed broken /etc/puppet/puppet.conf on redirects-nginx01.redirects.eqiad.wmflabs

2019-04-18

  • 20:18 bd808: Manually fixed broken /etc/puppet/puppet.conf on redirects-nginx01

2019-01-10

  • 15:37 andrewbogott: movi... (more)