nginx が .shtml ファイルで ssi コマンドを実行しない

nginx が .shtml ファイルで ssi コマンドを実行しない

SSIがなぜ実行を拒否しているのか理解できません。nginx 1.25.2、 の上ウブントゥ 22.04

server {

    listen      x.x.x.x:443 ssl;
    listen      [::]:443 SSL;
    # other lines 

    include /home/bhccwga/conf/web/bhccwga.org/nginx.hsts.conf*;

    ssi on;

     # rest of code
}

非常に基本的なコード (時間を出力する) で試してみましたが、これは古い nginx サーバーで正常に動作していたコードと同じです。

<!--#exec cgi="/cgi-bin/ri/ri.cgi"--></div>

他に確認できる場所はありますか? ブラウザで表示すると、コードは HTML ソースに印刷されます (実行エラーではなく、実行されていないだけです)

設定が有効になります:

 nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

関連情報