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

[web] Use netlify instead of github pages #11

Closed
2 of 3 tasks
at15 opened this issue Apr 29, 2018 · 2 comments
Closed
2 of 3 tasks

[web] Use netlify instead of github pages #11

at15 opened this issue Apr 29, 2018 · 2 comments

Comments

@at15
Copy link
Owner

at15 commented Apr 29, 2018

There are several reasons

  • netlify supports https for custom domain (you don't even need to use let's encrypt by yourself)
    • though I don't know if netlify is doing this, because you need to change dns server in domain name provider
  • using static site builder is easier with netlify, GitHub only has jekll, now I normally use single page application (spa) with server side rendering (ssr), so user can filter table, run sql query etc. on website
  • migrate the blog and copy content to medium and 知乎

TODO

  • update dns in netlify
    • host -t ns at15.me check name server for the domain name
  • handle the original github pages, it needs to redirect to custom domain, forgot how, seems a CNAME file is enough ...
  • redirect http to https

Ref

@at15
Copy link
Owner Author

at15 commented Apr 29, 2018

https://at15.me/ is working, but the http site does not redirect to the https site

at15 added a commit that referenced this issue Apr 29, 2018
- #11
- if choose force ssl in netlify, browser with remember it

> Forcing HTTPS ensures that all of your site users get the benefits of HTTPS, no matter which address they use, but it also means they can’t access the site over insecure HTTP. This can cause access problems if you change your mind later, so don’t force this until you know your site works and you’re ready to stick with HTTPS for good.
@at15
Copy link
Owner Author

at15 commented Apr 30, 2018

since I am not using any static site generator, there is no need to redirect at15.github.io to at15.me, might need to do that when I don't want to include the generated files

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

1 participant