Created
May 14, 2014 08:57
-
-
Save henter/9be4e224763d4bf15b6e to your computer and use it in GitHub Desktop.
This file contains 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 characters
location /stats/ { | |
alias /Users/henter/Work/stats/; | |
location ~ .php { | |
set $path_info ""; | |
if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)") { | |
set $path_info $2; | |
} | |
fastcgi_pass 127.0.0.1:9000; | |
include fastcgi_params; | |
fastcgi_param PATH_INFO $path_info; | |
fastcgi_param SCRIPT_FILENAME $request_filename; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment