Skip to content

Instantly share code, notes, and snippets.

View Naoto-Ida's full-sized avatar
🐞
Learning Rust atm

Naoto Ida Naoto-Ida

🐞
Learning Rust atm
View GitHub Profile
@calebwoods
calebwoods / nginx.conf
Created May 10, 2014 20:18
Sample Nginx config for deployment of Angular.js app
server { listen 80;
server_name example.com;
access_log /var/log/example.com/nginx.access.log;
error_log /var/log/example.com/nginx.error.log;
root /var/www/apps/example.com/public;
charset utf-8;
location / {
rewrite ^ https://$host$request_uri? permanent;
}
@lmullen
lmullen / blink.py
Created December 28, 2013 17:34
Blink an LED connected to a Raspberry Pi, and interrupt it with the keyboard
@rdegges
rdegges / proxy_nginx.sh
Created April 11, 2011 05:30
Create a HTTP proxy for jenkins using NGINX.
sudo aptitude -y install nginx
cd /etc/nginx/sites-available
sudo rm default
sudo cat > jenkins
upstream app_server {
server 127.0.0.1:8080 fail_timeout=0;
}
server {
listen 80;