This patch introduces HTTPS-only pages as an option for projects and custom domains, based on an attribute in a project's
- Check project's
- If found in root context, all HTTP requests to
groupname.gitlab.io/projectname/...will be 301 redirected to HTTPS
- If found in custom domain context, all HTTP requests to this domain will be 301 redirected to HTTPS
- Add acceptance tests
- This is the first serious Go code I've written so it may exhibit gotchas! All feedback/comments appreciated.