网站首页 / 资讯 / Magento教程/ Magento2.x教程

m2 在apache下无法自动更新SSL及申请 SSL证书

作者:admin

这种情况只需要修改.HTACCESS配置文件从:


RewriteEngine on
RewriteCond %{REQUEST_URI} !^/pub/
RewriteCond %{REQUEST_URI} !^/setup/
RewriteCond %{REQUEST_URI} !^/update/
RewriteCond %{REQUEST_URI} !^/dev/
RewriteRule .* /pub/$0 [L]
DirectoryIndex index.php


RewriteCond %{REQUEST_URI} !^/\.well-known/
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/pub/
RewriteCond %{REQUEST_URI} !^/setup/
RewriteCond %{REQUEST_URI} !^/update/
RewriteCond %{REQUEST_URI} !^/dev/
RewriteRule .* /pub/$0 [L]
DirectoryIndex index.php


注意一定得放到其它规则前

标签: SSL证书 magento不自动更新证书 magento2 apache ssl
上一篇:独家:M2/magento2爆力测试它来啦~100万/1000万产品的magento运行怎么样?
下一篇:M2默认主题相关前台展现在哪里修改?

相关内容

最近更新
相关产品
综合服务邮箱: magento2#foxmail.com