Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS #49

Closed
hacdias opened this issue Aug 23, 2018 · 3 comments
Closed

HTTPS #49

hacdias opened this issue Aug 23, 2018 · 3 comments

Comments

@hacdias
Copy link
Member

hacdias commented Aug 23, 2018

Can we redirect http to https automatically? Because of (libp2p/js-libp2p-crypto#105) it doesn't work on http.

@mikeal
Copy link
Member

mikeal commented Aug 23, 2018

I just clicked the "enforce HTTPS" box in settings and it seems to be working.

% curl --verbose http://proto.school                                                                                                                                       ~
* Rebuilt URL to: http://proto.school/
*   Trying 185.199.111.153...
* TCP_NODELAY set
* Connected to proto.school (185.199.111.153) port 80 (#0)
> GET / HTTP/1.1
> Host: proto.school
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: GitHub.com
< Content-Type: text/html
< Location: https://proto.school/
< X-GitHub-Request-Id: CE86:163C:2BFC9C:308F0E:5B7EE270
< Content-Length: 178
< Accept-Ranges: bytes
< Date: Thu, 23 Aug 2018 16:36:03 GMT
< Via: 1.1 varnish
< Age: 0
< Connection: keep-alive
< X-Served-By: cache-pao17432-PAO
< X-Cache: MISS
< X-Cache-Hits: 0
< X-Timer: S1535042164.920724,VS0,VE21
< Vary: Accept-Encoding
< X-Fastly-Request-ID: b1ac10f75544c7be554a74e107b96644a481fdd0
<
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
* Connection #0 to host proto.school left intact

@mikeal mikeal closed this as completed Aug 23, 2018
@hacdias
Copy link
Member Author

hacdias commented Aug 23, 2018

Thank you @mikeal

@mikeal
Copy link
Member

mikeal commented Aug 23, 2018

Anytime :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants