Closed Bug 1155005 Opened 10 years ago Closed 10 years ago

put in redirects for crash-{stats, reports}

Categories

(Socorro :: Infra, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Unassigned)

References

Details

Currently PHX has these redirects in place: http://crash-reports: 302 -> http://www.mozilla.com http://crash-stats: 301 -> https://crash-stats.mozilla.com/ We should do something equivalent in AWS.
We can do this with nginx but right now we're not differentiating HTTPS and HTTP traffic coming in from the ELB. We should have this go to different ports and have a vhost for each. We should also set these redirects up in the nginx config fragments that are in the main repo, so anyone setting up Socorro will get these right.
Assignee: rhelmer → nobody
(In reply to Robert Helmer [:rhelmer] from comment #1) > We can do this with nginx but right now we're not differentiating HTTPS and > HTTP traffic coming in from the ELB. We should have this go to different > ports and have a vhost for each. > > We should also set these redirects up in the nginx config fragments that are > in the main repo, so anyone setting up Socorro will get these right. We *could* do this by looking at the X-Forwarded-Proto header, and have to do less of the above: if ($http_x_forwarded_proto = "http") { rewrite ^(.*)$ https://$host$1/$1 permanent; }
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.