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 vs http #6

Closed
fosterlynn opened this issue Oct 5, 2015 · 4 comments · Fixed by #8
Closed

https vs http #6

fosterlynn opened this issue Oct 5, 2015 · 4 comments · Fixed by #8
Assignees

Comments

@fosterlynn
Copy link
Contributor

Moving this from agent / #23.

From @almereyda:
Can I assist in setting up TLS for https://valueflo.ws, which doesn't work
yet?
It seems we should make it available right from the start, so no http links
get spawned over the web.

From Lynn:
@almereyda sounds like a good idea. Does the certificate cost much?

@ahdinosaur
Copy link
Member

super keen on using https-only asap, i'll take care of this.

  • i'll setup a dokku server to host our site, since GitHub pages over a custom domain doesn't support HTTPS
  • i'll buy a certificate, any recommendations?

(note to myself: it'd be sweet to continue using this public repo for our website deploys, then maybe automated deploys from here to dokku?)

@elf-pavlik
Copy link
Member

@ahdinosaur I guess @almereyda suggested using http://www.startssl.com/
he also has dokku host running on http://co-munity.net/ecobytes which I believe we could deploy to
Since we need a build process we should ASAP configure github webhooks and start hosting the site ourselves. To support content negotiation for the vocab (JSON-LD, Turtle, RDFa) we may end up needing a small daemon, I happily will put one together using http://hapijs.com/

@ahdinosaur
Copy link
Member

@elf-pavlik: To support content negotiation for the vocab (JSON-LD, Turtle, RDFa) we may end up needing a small daemon

can you unpack this a bit, to make sure i understand?

i am imagining we need to support HTTP Accepts header, so as an example the following request:

GET /ns/Agent HTTP/1.1
Host: valueflo.ws
Accept: text/turtle

should return the contents of http://valueflo.ws/ns/Agent.ttl. is that right? if so then this should be trivial with a couple tiny npm modules (accepts and serve-static), might be useful to other folks.

i could also see us supporting Accept-Language, but that adds quite a bit of complexity as it relies on parsing and reformatting the rdf triples so maybe much much later.

@ahdinosaur
Copy link
Member

done: https://valueflo.ws, closing.

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

Successfully merging a pull request may close this issue.

3 participants