Adding a directory alias in Nginx
eder ·
A lot of people fear having to install Nginx because it includes none of the hand-holding defaults that we have been accustomed with Apache. As such, setting a directory alias and allowing it to serve PHP from it is not a straightforward matter. After searching far and wide for the solution, and after losing a lot of hair reading Nginx's comprehensive but somewhat cryptic documentation, I was able to figure out how to do it. So here it goes!