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. Edit the Hiera configuration to 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-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: moving project to eqiad1-r

2018-06-18

2018-06-14

  • 21:23 bd808: Added living-style-guide.wmflabs.org and livingstyleguide.wmflabs.org support (T192128, T192129)
  • 21:22 bd808: Fixed broke... (more)