Friday, June 27, 2014

New server, nginx + nodejs, github

Got a new AWS server.

Decided to switch from apache to nginx.

Had to figure out how to configure it.

Default inst. locations on RedHat are:
  • webroot at /usr/share/nginx/html
  • config file at /etc/nginx/nginx.conf
I followed some other tutorials to figure out how to configure the reverse proxy for node and nginx. The current method that I'm using is probably not THE best, but certainly works.

Needed to learn how to clone a private repo from a new machine. Also trying to actually learn how to use Github.

And check out this nice site: https://www.atlassian.com/git/

http://stackoverflow.com/questions/2505096/cloning-a-private-github-repo
Oh, so cloning private repos uses the git@github.com:username/repo.git format...
You also need to generate SSH keys to authenticate with Github:
https://help.github.com/articles/generating-ssh-keys#platform-linux

Terse.

No comments:

Post a Comment