mxstbr / sharingbuttons.io

Quickly generate social sharing buttons with a tiny performance footprint
http://sharingbuttons.io
MIT License
2.48k stars 103 forks source link

Force HTTPS on the website #88

Open theel0ja opened 6 years ago

theel0ja commented 6 years ago

https://sharingbuttons.io/

The site already support it, since you're using Netlify!

sparr commented 5 years ago

Why?

mxstbr commented 5 years ago

I can't seem to find the setting to do so, how do I enforce HTTPS?

Why?

Because it's good practice 👍

dlackty commented 4 years ago

Not sure if @mxstbr has made any changes, but it looks like force HTTPs has been turned on:

% curl -I http://sharingbuttons.io/
HTTP/1.1 301 Moved Permanently
Cache-Control: public, max-age=0, must-revalidate
Content-Length: 0
Content-Type: text/plain
Date: Sun, 26 Jul 2020 16:38:43 GMT
Location: https://sharingbuttons.io/
Age: 0
Connection: keep-alive
Server: Netlify
X-NF-Request-ID: 4d15ce74-5eea-41bb-a02f-d828278345e2-10642979