We have a Linux CentOS 7 server with PHP 7.0.9 and NGINX 1.11.3 installed. We have completed the command line installation of Magento 2.1.0. The front end loads up just fine in the browser but when I try to go to the admin back end, I am getting a 404 error page. I have been scouring the internet for a solution and none of the solutions I have found have fixed my issue. Please help!
The first place I would check is:
What do the nginx logs say?
Also what do the magento logs say?
@brendanb Im not seeing anything in the NGINX logs.
Where should I be looking for the Magento logs?
No worries. Have a look here
Magento now logs exceptions in a file under var/report when in default mode.
Just a suggestion. I use the following command from shell to watch the log file. Tail is a good way to view the file. With -f it becomes interactive.
tail -f ../var/report/logfilename.txt
In var/log there are two files, debug.log and system.log.
debug.log has no logs from yesterday.
system.log entries for yesterday:
The NGINX logs have no logs from yesterday either.
Is it possible that I have an error in the /etc/nginx/conf.d/default.conf file?
Would you like to see that as well?