How to deploy hexo static blog using nginx

I have a static blog based on hexo ( Vim Chinese tutorial ), which was originally deployed in coding pages, but due to the recent instability of coding, it is very slow to access, so I decided to migrate my blog to Tencent Cloud server.

I deployed the public directory generated by hexo g under the root path of nginx, only to find that the style was not correct when accessing it, but there was no error in browsing the browser terminal. I don"t know why. Thank you very much for asking everyone to help me.

this is the result of the access deployed on coding pages

nginx

May.09,2022

found the reason. Nginx did not set the default MIME type, which caused the css file not to take effect. You can refer to the instructions of this article https://blog.csdn.net/m0_3790...

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37c33-2c0ea.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37c33-2c0ea.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?