Thirty-seven, WWW service nginx advanced

Six. Check the default homepage and directory of nginx: as follows, you can see that the default directory is html, and the homepage is index.html

[[emailprotected] conf]# grep html nginx.conf
root root html;
index index.html index.htm;
404 #error_page / 404.html;
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
# root root html;
# Root root html;
# index index.html index.htm;
root html;
## index index.html index.htm;

After entering the homepage, after modifying the content, visit:

share picture

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4662 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.