Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584356 - dev.gentoo.org web server should enable HSTS & automatic http->https redirection
Summary: dev.gentoo.org web server should enable HSTS & automatic http->https redirection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Dev box issues (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-27 19:08 UTC by SpanKY
Modified: 2022-06-16 00:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2016-05-27 19:08:02 UTC
we've got the certs, so we should staple down dev.gentoo.org to always use https
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-05-27 19:51:18 UTC
Ya, hsts is good, just make sure that hpkp isn't enabled as it's takes a lot more care.

https://community.letsencrypt.org/t/hpkp-best-practices-if-you-choose-to-implement/4625
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-16 00:37:16 UTC
This looks complete:

$ curl -IL http://dev.gentoo.org
HTTP/1.1 301 Moved Permanently
Date: Thu, 16 Jun 2022 00:36:34 GMT
Server: Apache
Permissions-Policy: interest-cohort=()
Referrer-Policy: strict-origin-when-cross-origin
Location: https://dev.gentoo.org/
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 302 Found
Date: Thu, 16 Jun 2022 00:36:34 GMT
Server: Apache
Location: https://www.gentoo.org
Content-Type: text/html; charset=iso-8859-1

HTTP/2 200
server: nginx
content-type: text/html
last-modified: Thu, 16 Jun 2022 00:31:12 GMT
etag: "62aa79d0-5aa2"
strict-transport-security: max-age=31536000
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
accept-ranges: bytes
date: Thu, 16 Jun 2022 00:36:35 GMT
via: 1.1 varnish
age: 0
x-served-by: cache-sjc10033-SJC
x-cache: MISS
x-cache-hits: 0
x-timer: S1655339795.130308,VS0,VE705
vary: Accept-Encoding
content-length: 23202