I have been using apache for quite a long time. I am using aaPanel for managing the server. aaPanel is a web-based control panel. aaPanel provides the one-click function such as one-click install LNMP/LAMP developing environment. So I can both get apache or Nginx.
Installing WordPress with apache build is very easy, just add the website and upload WordPress files. but recently I want to move my website to Nginx (as everyone recommends Nginx) but here comes the problem, when I upload my WordPress website home page loads fine but the single page shows a 404 error.
I searched google and find out that I need to configure Nginx to get it working. But Nginx is too complicated, where in apache wordpress default provide .htaccess which handle everything but in Nginx there is nothing. Can anyone help me setup the website?