This is strange:
- http://discuss-space.wmflabs.org redirects automatically to https on Chrome, but not on Firefox !?
Meanwhile
- http://discourse-mediawiki.wmflabs.org redirects automatically to https both in Chrome and Firefox.
As far as I am aware, we applied to discuss-space the same "messy hack" that discourse-mediawiki has:
/etc/nginx/conf.d/discourse.conf
#Messy hack to force SSL on only the hostname, not IPs so ELB and Icinga work.
set $use_https NO;
if ($host ~* 'discourse-mediawiki.wmflabs.org') {
set $use_https A;
}
if ($http_x_forwarded_proto != 'https') {
set $use_https "${use_https}B";
}
if ($use_https = AB) {
rewrite ^ https://$host$request_uri? permanent;
}Halp!
Related: T227019: Redirect all space.wmflabs.org traffic to HTTPS