I’m not sure if it was Postfix that caused this or upgrading to a newer nginx. A few bad things happened along the way probably, so I’m not sure if this has had any effect.
I had my server working with the updated nginx 1.4.4 but then I started messing with Postfix, changed my droplet name to be mail.domainname.com so that it would work (according to DigitalOcean’s tutorials). I also did a apt-get update, apt-get upgrade since my server was telling me i had upgrades and some of them were security upgrades. This installed Apache, which I promptly removed.
Anyway, I’m kind of new to this and I don’t know why this could be happening. I get my IP address to come up with nginx, ipaddress/info.php causes the info.php file to download to my machine for some reason, and my setup WordPress site is getting a 403 error.
I checked that www-data had the permissions for all of the directories - getting close to just starting over with this as it’s just a test site I’m working with at this point. Can anyone help?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.