当前位置:首页 > 日记本 > 正文内容

开启cdn后,搜索引擎抓取服务器不确定ip的问题

zhangchap2年前 (2021-12-25)日记本277

添加解析的时候万网A记录添加源IP和运营商百度线路,CNAME绑定加速域名用默认,这样百度抓取就是百度线路A记录你的真实IP了,然后百度抓取测试,百度抓源IP,用户访问CDN的IP就行了


分享给朋友:

相关文章

python 函数 开启多线程示例

from threading import Thread def readfile(queue:Queue):    &nbs...

python 随机生成时间戳写入txt文件/运行sql语句

import time from random import randint with open('time.txt', ...

python md5生成

from hashlib import md5 md5_hash = md5(title.encode('utf-8')).hexd...

python退出程序,终止运行

python退出程序运行方式常用的两种:os._exit() 和 sys.exit()1. sys.exit()import os,sys try:    ...

python下elasticsearch搜索接口介绍

# elasticsearch 默认算法bm25 from elasticsearch import Elasticsearch import&n...

python下random随机选择的三种方式

from random import sample,choice,choices list_1 = [1,2,3,4,5,6] # 从列...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。