Created
May 21, 2014 09:51
Revisions
-
Blacksly created this gist
May 21, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ server { root /var/www/www.kpi.com; index index.php; server_name www.kpi.com; access_log /var/log/nginx/kpi-access_log; error_log /var/log/nginx/kpi-error_log; location / { try_files $uri $uri/ /index.html; } location ~ \.php$ { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/www.kpi.com$fastcgi_script_name; include fastcgi_params; } }