I have setup a Nginx/PHP-PFM server recently so that I can move my webpage from LAMP to LEMP. After importing my code over to the new server, all included Javascript and CSS files stopped working. It disappeared from the source code.
I spent sometime searching Nginx $_SERVER['DOCUMENT_ROOT'] in Google, most paged I found were talking about how to configure Nginx document root, which was not what I was looking for.