Created
June 21, 2018 13:08
-
-
Save kumirska/466a293d7bb7f532f852ddc868877e36 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
server { | |
server_name xhprof.local; | |
root /var/www/xhprof-0.9.4/xhprof_html; | |
index index.php; | |
access_log off; | |
error_log /var/www/xhprof-0.9.4/log/nginx.error.log; | |
location ~ \.php$ { | |
fastcgi_pass unix:/var/run/php5-fpm-xhprof.sock; | |
fastcgi_index index.php; | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment