Skip to main content
 

I've been working on my various sites to a new DigitalOcean droplet since yesterday, and have them about /2 done. But, before I could finish them, I needed to get PHP working (so I can migrate this server).

After getting 404s on my PHP scripts and fighting w/ php-fpm / nginx for the past couple of hours, I finally found what I was missing: in my nginx config for the site, I needed to move my server root outside of the location blocks. See here: https://stackoverflow.com/a/22921150

Hallelujah!