Last update at :2024-07-11,Edit by888u
Coincidentally, a friend consulted Snail and said that the LNMP one-click installation package he installed, the homepage of the website is INDEX.HTML and cannot be opened directly. The normal thinking should be that the default homepage does not have this file name, we only need to set it. The method is very simple:
/usr/local/nginx/conf/vhost/.conf file corresponding to the website name
Find the following
index index.html index.htm index.php default.html default.htm default.php;
It will be OK after adding it. If not, restart LNMP.
Recommended site search: US attack defense server, vps server, foreign vps server rental, Korean server recommendation, server, US multi-ip station group vps, US server defense, Tencent cloud server, how to check ip, godaddy space, p>
发表评论