Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permanently redirect custom domains to docs.sensu.io #3604

Open
1 of 2 tasks
hillaryfraley opened this issue Jan 18, 2022 · 0 comments
Open
1 of 2 tasks

Permanently redirect custom domains to docs.sensu.io #3604

hillaryfraley opened this issue Jan 18, 2022 · 0 comments
Assignees
Labels
inbox cleanup Issue identified for inbox cleanup discussion

Comments

@hillaryfraley
Copy link
Contributor

hillaryfraley commented Jan 18, 2022

Description

Previously, the domains docs.uchiwa.io and docs.sensuapp.org were mirroring docs.sensu.io content. Anna asked us to remove these sites.

Caleb removed the DNS record for docs.sensuapp.org in November 2021.

Our incoming traffic for docs.uchiwa.io was from uchiwa.io. Simon merged a PR to change the uchiwa.io link to https://docs.sensu.io/uchiwa/latest/.

We still have both docs.uchiwa.io and docs.sensuapp.org configured as custom domains in our Heroku (see Domains section at https://dashboard.heroku.com/apps/sensu-docs-site/settings), along with a few other custom domains. I got an email from Heroku this morning that Heroku's automated certificate management is failing for docs.sensuapp.org -- may be something to do with Caleb removing the DNS record?

We should permanently redirect these domains to docs.sensu.io. Anthony believes we can do this via Heroku.

Category

This is an issue with:

  • bug (bug in site build, layout, or functionality)
  • enhancement (add new or updated site functionality)

Affected pages

See Domains section at https://dashboard.heroku.com/apps/sensu-docs-site/settings

Expected behavior

All custom domains at https://dashboard.heroku.com/apps/sensu-docs-site/settings redirect to docs.sensu.io.

Additional context

We've tried redirecting docs.uchiwa.io via the static.json file (where we manage all other redirects for docs.sensu.io) but it hasn't worked. Here are a couple of the redirect attempt PRs so you can see what we've already tried:

Here's the output from the curl requests Anthony suggested:

hillaryfraley@Hillarys-Sensu-MacBook-Pro ~ % curl -I docs.uchiwa.io
HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Server: nginx
Date: Tue, 18 Jan 2022 20:29:10 GMT
Content-Type: text/html
Content-Length: 162
Location: https://docs.uchiwa.io/
Via: 1.1 vegur

hillaryfraley@Hillarys-Sensu-MacBook-Pro ~ % curl -I https://docs.uchiwa.io/
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx
Date: Tue, 18 Jan 2022 20:29:25 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 77122
Last-Modified: Tue, 18 Jan 2022 17:12:14 GMT
Vary: Accept-Encoding
Etag: "61e6f4ee-12d42"
Accept-Ranges: bytes
Via: 1.1 vegur
@hillaryfraley hillaryfraley added the inbox cleanup Issue identified for inbox cleanup discussion label Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inbox cleanup Issue identified for inbox cleanup discussion
Projects
None yet
Development

No branches or pull requests

2 participants