我已经使用Azure Front Door产品为自定义域(URL中带有“ www”)成功配置了SSL / HTTPS。该配置要求DNS CNAME条目将“ www.cutegoat.com”转发到“ cutegoat.azurefd.net”
当我使用不带“ www”前缀的相同URL时仍然存在SLL问题:“ https://cutegoat.com”
我的A型DNS记录仍然指向Azure为我的App Service给我的IP地址。我曾考虑过进行更改,但是Azure前门设计人员很清楚我的“自定义主机名”必须具有相应的CNAME记录:
我将GoDaddy用于我的域,并且添加了带有“ cutegoat.com”源的CNAME记录,但仍然收到Azure前门“需要CNAME记录”错误。该条目让我将映射添加到“ cutegoat.com.cutegoat.com”
我认为Azure前门服务正在寻找源值为“ @”的CNAME记录。但我不能输入该CNAME记录,因为我已经有一个A类型记录,其来源为“ @”。
有人知道正确的DNS / Azure前门配置,以使SSL适用于我的“裸机”自定义域吗?
答案 0 :(得分:3)
是的,因为您必须已经具有源C:\Users\柘宇\PycharmProjects\GraduationProject\spiders\bin\JDSpider>scrapy crawl getCommodityInfo
Traceback (most recent call last):
File "D:\Anacaonda\Scripts\scrapy-script.py", line 5, in <module>
sys.exit(scrapy.cmdline.execute())
File "D:\Anacaonda\lib\site-packages\scrapy\cmdline.py", line 141, in execute
cmd.crawler_process = CrawlerProcess(settings)
File "D:\Anacaonda\lib\site-packages\scrapy\crawler.py", line 238, in __init__
super(CrawlerProcess, self).__init__(settings)
File "D:\Anacaonda\lib\site-packages\scrapy\crawler.py", line 129, in __init__
self.spider_loader = _get_spider_loader(settings)
File "D:\Anacaonda\lib\site-packages\scrapy\crawler.py", line 325, in _get_spider_loader
return loader_cls.from_settings(settings.frozencopy())
File "D:\Anacaonda\lib\site-packages\scrapy\spiderloader.py", line 45, in from_settings
return cls(settings)
File "D:\Anacaonda\lib\site-packages\scrapy\spiderloader.py", line 23, in __init__
self._load_all_spiders()
File "D:\Anacaonda\lib\site-packages\scrapy\spiderloader.py", line 32, in _load_all_spiders
for module in walk_modules(name):
File "D:\Anacaonda\lib\site-packages\scrapy\utils\misc.py", line 71, in walk_modules
submod = import_module(fullpath)
File "D:\Anacaonda\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "C:\Users\柘宇\PycharmProjects\GraduationProject\spiders\bin\JDSpider\JDSpider\spiders\getCommodityInfo.py", line 12, in <module>
from spiders.bin.JDSpider.JDSpider.items import JDCommodity
ModuleNotFoundError: No module named 'spiders'
的A类型记录。您无法在CNAME记录中添加这样的主机name = "getCommodityInfo"
作为RFC1034
如果节点上存在CNAME RR,则不应存在其他数据;这样可以确保 规范名称及其别名的数据不能为 不同。
据我所知,当前Azure前门不支持将Naked Domain或root Domains添加到自定义主机名。如果您想改善此服务,则可以请求反馈或支持feedback ---将自定义Apex(裸)域添加为Azure前门服务的前端主机
答案 1 :(得分:0)