浏览代码

web: nginx enable ssi for all locations
web: nginx enable ssi for javascript files

Aaron van Meerten 5 年之前
父节点
当前提交
a7e74553bd
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      web/rootfs/defaults/meet.conf

+ 3 - 0
web/rootfs/defaults/meet.conf

@@ -10,6 +10,9 @@ location ~ ^/([a-zA-Z0-9=\?]+)$ {
     rewrite ^/(.*)$ / break;
 }
 
+ssi on;
+ssi_types application/x-javascript application/javascript;
+
 location /config.js {
     alias /config/config.js;
 }