Verify error:Invalid response from http://thatk.com/.well-known/acme-challenge/ centMinMod acme.sh 申请免费ssl出错的解决

vim /usr/local/nginx/conf/staticfiles.conf;

#并添加下面的代码,保存后重启 nginx

    # prepare for letsencrypt
    # https://community.centminmod.com/posts/17774/
    location ~ /.well-known {
        location ~ /.well-known/acme-challenge/(.*) {
                more_set_headers    "Content-Type: text/plain";
        }
    }

$base_url 强制设置后可能导致 https 页面中有 http 链接

一个drupal 7 站点, 已经忘记此前因为什么把 settings.php 中添加了 $base_url = 'http://thatk.com';

时间久了,自己都忘了这回事.

结果今天给站点添加免费的 ssl 证书后,一直发现 css js 和图片是通过 http1.1 加载的, 而不是 https h2. 如果页面中有http内容,那么地址栏中就不会显示绿色小锁.

还有些文件可能无法加载, 例如有 [blocked:mixed-content]错误.

在没有发现这个 base_url 配置之前. 通过 advagg 解决了css js 的 blocked:mixed-content 这个比较严重的,css js文件根本无法加载的问题.

 

最终解决还是注释掉 $base_url ... 这一行. 以免以后再有什么问题出现.

Create product catalog views page, and show child categories (taxonomy terms).

Create a Term view and set it to a block.
Select a format Grid/Table/etc..
Select the fields you want to show. Category name/image/etc...
Filter Criteria go with Taxonomy term: Vocabulary and select the vocabularies.

Now under Contextual filters
Taxonomy term: Parent term

15). Install/Reinstall ImagicK PHP Extension

PHP Warning:  Version warning: Imagick was compiled against Image Magick version 1685 but version 1686 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
PHP Warning:  Version warning: Imagick was compiled against Image Magick version 1685 but version 1686 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0

It shows above warning when run drush command.

This is caused by PHP update, but haven't update ImagicK PHP Extension.

 

Let's update it. commands:

cmdir

./centmin.sh