Skip to content

Instantly share code, notes, and snippets.

View alexlabarces's full-sized avatar

Alex Labarces alexlabarces

View GitHub Profile
@alexlabarces
alexlabarces / deployd.conf
Created February 22, 2014 19:11
NGINX Proxy SSL Configuration for Deployd
# ==================================================
#
# NGINX Proxy SSL Configuration for Deployd
#
# Notes: Be sure to change the following
# 1. example.com
# 2. /path/to/ssl/cert/server.crt
# 3. /path/to/ssl/key/server.key
# 4. Default Deployd port is used (2403)
#
@alexlabarces
alexlabarces / deployd-ssl-spdy.conf
Created February 24, 2014 18:55
DISCLAIMER: Please note that the configuration in this file does NOT guarantee your server or service security. They are techniques and solutions which have been adopted and worked thus far in our environments. Remember that server attacks are complex, wide-ranging, and their prevention varies according to your specific environments and services…
log_format https_requests '$remote_addr - [$time_local] "$request" $status "$request_body"';
server {
listen 443 ssl spdy;
server_name example.com;
server_tokens off;
# SSL Configuration
@alexlabarces
alexlabarces / deployd-spdy-redirect-http-to-https.conf
Created February 24, 2014 19:10
OPTIONAL: Force a redirect of all HTTP traffic to HTTPS when implementing SPDY.
log_format http_requests '$remote_addr - [$time_local] "$request" $status "$request_body"';
server {
listen 80;
server_name example.com;
location ^~ / {
# Define Custom logs (track all HTTP requests)