Nginx & php5-fpm - All pages 404 error, wordpress login loop, subscriber 500 server error
I'm running into a ton of issues nonstop for the last 7 hours and after playing with the settings and really trying to get this fixed, it just isn't happening. Am desperate as this is a live site with a decent amount of visitors.
Ubuntu 14.04 x64
- Only homepage & category pages are showing, rest of pages and posts are 404s.
- Wordpress login keeps looping (never allowing me into wp-admin)
- When someone subscribes to a newsletter, the post fails and hits 500 server error page
Here are two types of errors I'm getting:
2016/01/24 22:21:15 [error] 13244#0: *174 FastCGI sent in stderr: "PHP message: PHP Warning: require(phar://aws.phar/aws-autoloader.php): failed to open stream: phar error: invalid url or non-existent phar "phar://aws.phar/aws-autoloader.php" in /var/www/html/wp-content/plugins/newsletter-amazon/api/aws.phar on line 3 I switched from apache to nginx a few days ago and for some odd reason things started breaking down over time.
2016/01/24 21:41:48 [warn] 12503#0: conflicting server name "www.mywebsite.com" on 0.0.0.0:80, ignored
Here are my files
Additionally, it keeps trying to open old files that don't exist (plugins I deleted). That may be nginx caching? I cleared my cloudflare cache multiple times and I do have nginx caching set up. How would I get rid of cache?
I'll post whatever other files you need, just let me know.
Thanks so much in advance