Closed
Bug 1234718
Opened 8 years ago
Closed 8 years ago
make brasstacks.mozilla.org redirect to brasstacks.mozilla.org/orangefactor
Categories
(Tree Management Graveyard :: OrangeFactor, defect)
Tree Management Graveyard
OrangeFactor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bkelly, Assigned: emorley)
Details
Currently brasstacks.mozilla.org redirects to mozilla.org. This is a little annoying given we now show the site host without any path as the first result in the awesomebar. It would be nice if brasstacks.mozilla.org redirected to brasstacks.mozilla.org/orangefactor.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → emorley
Component: General → OrangeFactor
Product: Testing → Tree Management
Version: unspecified → ---
Assignee | ||
Comment 1•8 years ago
|
||
Thank you for filing this :-) [~/orangefactor]$ diff -u6 brasstacks-nginx.conf brasstacks-nginx_new.conf --- brasstacks-nginx.conf 2015-12-28 20:49:05.257639500 +0000 +++ brasstacks-nginx_new.conf 2015-12-28 20:55:54.472656500 +0000 @@ -76,14 +76,14 @@ #access_log logs/host.access.log main; location / { root /usr/share/nginx/html; index index.html index.htm; autoindex on; - rewrite ^/$ https://www.mozilla.org/ permanent; - rewrite ^/index.html$ https://www.mozilla.org/ permanent; + rewrite ^/$ https://brasstacks.mozilla.com/orangefactor/ permanent; + rewrite ^/index.html$ https://brasstacks.mozilla.com/orangefactor/ permanent; } location /toolbox { rewrite /toolbox(.*) http://k0s.org/toolbox$1 break; } Before: [~/src/treeherder]$ curl -I "http://brasstacks.mozilla.com/" HTTP/1.1 301 Moved Permanently Server: nginx/0.8.54 Date: Mon, 28 Dec 2015 20:55:13 GMT Content-Type: text/html Content-Length: 185 Location: https://www.mozilla.org/ Connection: keep-alive After: [~/src/treeherder]$ curl -I "http://brasstacks.mozilla.com/" HTTP/1.1 301 Moved Permanently Server: nginx/0.8.54 Date: Mon, 28 Dec 2015 21:03:10 GMT Content-Type: text/html Content-Length: 185 Location: https://brasstacks.mozilla.com/orangefactor/ Connection: keep-alive
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•8 years ago
|
||
I've also done the same to /etc/nginx/conf.d/ssl.conf so that the above works for HTTPS too. Bug 1238599 has also set up a Zeus redirect from HTTP to HTTPS.
Updated•4 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•