Skip to content

Instantly share code, notes, and snippets.

View mikebarnhardt's full-sized avatar

Mike Barnhardt mikebarnhardt

  • 東亜重工
View GitHub Profile
@mikebarnhardt
mikebarnhardt / default.conf
Created January 22, 2016 16:41
Basic Nginx Config
server {
listen 80;
# Your server's IP
server_name 11.222.33.44;
# Uncomment to enable:
# access_log /var/log/nginx/log/host.access.log main;
location / {
@mikebarnhardt
mikebarnhardt / site.conf
Created January 22, 2016 16:34
Service Script for Node Apps
description "Site Name"
author "Your Name"
# Start service after everything loaded
start on (local-filesystems and net-device-up IFACE=eth0)
stop on shutdown
# Automatically restart service
respawn
respawn limit 3 15