Skip to content

Instantly share code, notes, and snippets.

@viccherubini
Created November 4, 2013 03:19
Show Gist options
  • Save viccherubini/7297631 to your computer and use it in GitHub Desktop.
Save viccherubini/7297631 to your computer and use it in GitHub Desktop.
Expert PHP Deployments nginx.conf configuration file.
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 0;
client_max_body_size 64m;
types_hash_max_size 2048;
server_names_hash_bucket_size 64;
server {
listen 80;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
}
include vhost-expert-php-application.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment