Skip to content

Instantly share code, notes, and snippets.

View ankkho's full-sized avatar

Ankit ankkho

  • AirAsia
  • Kuala Lumpur, Malaysia
  • 22:14 (UTC +08:00)
  • X @ankit_khosla
View GitHub Profile
@ankkho
ankkho / install_passenger_nginx_digital_ocean.sh
Last active August 29, 2015 14:27 — forked from sathishmanohar/install_passenger_nginx_digital_ocean.sh
Steps to setup and install passenger nginx and rails on digital ocean
# Login as root
ssh root@domain
# Create deploy user
adduser <username> #Adds User with username given. Enter Password when Prompted. Other Details are Optional
# Add user to sudo group
usermod -g <groupname> <username>
# Add .ssh/authorized_keys for deploy user
@ankkho
ankkho / nginx-403-forbidden-error-hosting-in-user-home-directory.md
Last active August 29, 2015 14:27 — forked from jhjguxin/nginx-403-forbidden-error-hosting-in-user-home-directory.md
nginx 403 forbidden error when server static file under user home directory