Skip to content

Instantly share code, notes, and snippets.

@danpalmer
Last active December 10, 2015 09:19
Show Gist options
  • Save danpalmer/4413900 to your computer and use it in GitHub Desktop.
Save danpalmer/4413900 to your computer and use it in GitHub Desktop.
worker_processes 1;
daemon off;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
gzip on;
gzip_http_version 1.1;
gzip_comp_level 2;
gzip_types text/plain
application/xhtml+xml
text/xml
application/xml
application/xml+rss;
server {
listen <%= ENV['PORT'] %>;
server_name 127.0.0.1;
location / {
root /app/Build;
index index.html index.htm;
port_in_redirect off;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment