current position:Home>Hexo/Github. IO configure Tencent cloud CDN
Hexo/Github. IO configure Tencent cloud CDN
2022-04-29 04:21:30【Xia ordinary】
List of articles
My brother Xin wrote ! By the way, he helped me set up a new blog https://xpt.hatake18.top/, lately (2022.2) Updating autumn recruitment interview QA, Suitable target is “ Big factory + Survey and opening post ”, Welcome to watch ~

Preface
Use Github.io When building your own blog, you may encounter poor access speed , The following solutions can be adopted to solve :
- take Hexo Deploy to Alibaba cloud ( Click to see ), Direct access to Alibaba cloud , But this method will expose the of your server ip, There are safety risks , The bandwidth of the server may not meet the demand , You can refer to https://zhuanlan.zhihu.com/p/58654392, When you're done, be right
/home/git/hexo/hooks/post-receive
Add executable permissions to the file - use Gitee, Speed is guaranteed , But now the personal version can't customize the domain name
- use Github.io, To configure Tencent cloud CDN, Novices can get six months , monthly 20G The free CDN Traffic .
CDN To configure
Suppose you have installed the online tutorial configuration Hexo Such steps
After execution
hexo d -g
after , Configure... In the warehouse Pages, Reference resources https://sspai.com/post/54608, Be careful Do not configure a custom domain name , In Tencent cloud CDN Middle configuration .You should be able to access your github.io Page , for example :https://liu-hx.github.io/ In this form
Tencent cloud CDN Main configuration host And domain name , Refer to the below
Domain name setting resolution
Two article , Corresponding to overseas and domestic respectively
Now visit... Separately https://liu-hx.github.io/ and https://xpt.hatake18.top/ You should be able to visit your website ,cdn Why , The second may be slower to update , You need to set up your own
copyright notice
author[Xia ordinary],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/118/202204280553438148.html
The sidebar is recommended
- Basic usage of JavaScript
- About the problems encountered in the value transfer of react parent-child components! (Language JavaScript)
- How to realize the function of jQuery small ticket printing
- [JavaScript] handwriting a lazy loading component
- HTTP protocol
- JavaScript performance optimization
- I've taught myself Python for half a month. I feel it's useless. What should I do?
- Is it a blessing or a curse that the biggest customer of Ningde era changes ownership of Tesla?
- Element UI realizes the function of table radio selection
- Elementui realizes the function of table radio selection
guess what you like
Apache shardingsphere code formatting practice -- spotless
Vue console error information collection and reporting
Initialize the react project environment under mac
React dynamically adds elements to the list
React realizes form data collection
Vernacular react life cycle
JavaScript generates a tree
vue2. How to register and login with 0 + koa2 + mongodb
vue. JS how to realize single page application
How to realize login registration and token verification in Vue
Random recommended
- How to set the background color for individual pages in Vue cli
- How does Vue router cooperate with elementui to realize navigation
- Vue2 how to load more data on the scroll bar
- How to use margin and padding in CSS
- How does vue2x implement the vueslidershow function of the responsive adaptive rotation component plug-in
- How does vue2 recursive component implement tree menu
- How to use the three selectors of CSS
- Same blog, different styles -- hexo alternative construction
- Optimize nginx HTTPS latency - see how I can speed up nginx by 30%?
- The development model in the era of consumer Internet only transfers industrial elements from offline to online
- Advanced features of Vue
- CSS shadow advanced, to achieve a more three-dimensional shadow effect!
- Introduction to the number type method in JavaScript
- Differences between nginx forward and reverse proxy
- Front end schema form configuration generation scheme
- Units that can be used by the rotate method of transform in CSS
- Why CSS3 sticky doesn't work?
- [bug resolution] webpack error: module not found Did you mean xxx
- [bug resolution] can't perform a react state update on an unmounted component This is > a no-op, but it...
- Remember to speed up the construction of a webpack
- Browser review hover element
- Vue insert iframe
- Vue realizes downloading pictures
- Some common problem-solving methods in Vue (sort out some truly effective methods that can be used in the project) (wait for continuous update and accumulation)
- About database data response to HTML page, Chinese appears? Solution to garbled code (multiple question marks)
- Ask a question about CSS selector
- When Vue jumps the route, the timer cannot be cleared in time
- Document is not defined
- Vue quill editor stepping on pit record -- the echo style of rich text content is wrong
- The multi selection box of table in element is combined with paging to echo the bug step hole
- Vue project optimizes the loading speed of the first screen
- Use / deep / to report an error CSS (CSS selected expected)
- Nginx configuration
- Vue cli reverse proxy
- Vuex persistedstate plug-in - vuex persistent storage
- Understanding and summary of CSS
- vue2. Implementation of X data response
- JavaScript content understanding
- Props in react
- JavaScript stack“