فهرست منبع

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;
 }