Skip to content

Instantly share code, notes, and snippets.

@alxfv
Created August 19, 2014 14:45
Show Gist options
  • Save alxfv/6587972bb11ca5402b19 to your computer and use it in GitHub Desktop.
Save alxfv/6587972bb11ca5402b19 to your computer and use it in GitHub Desktop.
server {
listen 80;
root /home/faost/www/test;
index index.html;
server_name test;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment