Check https://stackoverflow.com/questions/15423500/nginx-showing-blank-php-pages#16887296 for the rest of the change (without, I get white page on a testing vagrant box)
sample-Lighttpd.config sample-nginx.config Sample configuration files to use Friendica with Lighttpd or Nginx. Pleas check software documentation to know how modify these examples to make them work on your server.