Skip to content

Instantly share code, notes, and snippets.

@hitode909
Created April 8, 2012 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitode909/2333361 to your computer and use it in GitHub Desktop.
Save hitode909/2333361 to your computer and use it in GitHub Desktop.
# nginx -p . -c server.conf
error_log /dev/stderr debug;
daemon off;
events {
worker_connections 48;
}
http {
include /usr/local/etc/nginx/mime.types;
client_body_temp_path /tmp/client_doby_temp 1 2;
fastcgi_temp_path /tmp/fastcgi_temp 1 2;
proxy_temp_path /tmp/proxy_temp 1 2;
scgi_temp_path /tmp/scgi_temp 1 2;
uwsgi_temp_path /tmp/uwsgi_temp 1 2;
server {
listen 8080;
server_name localhost;
root '';
index index.html index.htm;
access_log /dev/stdout;
expires off;
add_header Cache-Control private;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment