浏览代码

Implements the title of the page to be generated as server-side include.

master
hristoterezov 10 年前
父节点
当前提交
380b1de723
共有 4 个文件被更改,包括 11 次插入1 次删除
  1. 4
    0
      debian/usr/share/doc/jitsi-meet/jitsi-meet.example
  2. 5
    0
      doc/example-config-files/jitsi.example.com.example
  3. 1
    1
      index.html
  4. 1
    0
      title.html

+ 4
- 0
debian/usr/share/doc/jitsi-meet/jitsi-meet.example 查看文件

17
         rewrite ^/(.*)$ / break;
17
         rewrite ^/(.*)$ / break;
18
     }
18
     }
19
 
19
 
20
+    location / {
21
+        ssi on;
22
+    }
23
+
20
     # BOSH
24
     # BOSH
21
     location /http-bind {
25
     location /http-bind {
22
         proxy_pass      http://localhost:5280/http-bind;
26
         proxy_pass      http://localhost:5280/http-bind;

+ 5
- 0
doc/example-config-files/jitsi.example.com.example 查看文件

9
     location ~ ^/([a-zA-Z0-9]+)$ {
9
     location ~ ^/([a-zA-Z0-9]+)$ {
10
         rewrite ^/(.*)$ / break;
10
         rewrite ^/(.*)$ / break;
11
         }
11
         }
12
+
13
+    location / {
14
+        ssi on;
15
+    }
16
+
12
     # BOSH
17
     # BOSH
13
     location /http-bind {
18
     location /http-bind {
14
         proxy_pass      http://localhost:5280/http-bind;
19
         proxy_pass      http://localhost:5280/http-bind;

+ 1
- 1
index.html 查看文件

1
 <html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
1
 <html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
2
   <head>
2
   <head>
3
-    <title>Jitsi Videobridge meets WebRTC</title>
3
+    <!--#include virtual="title.html" -->
4
     <link rel="icon" type="image/png" href="/images/favicon.ico"/>
4
     <link rel="icon" type="image/png" href="/images/favicon.ico"/>
5
     <meta property="og:title" content="Jitsi Meet"/>
5
     <meta property="og:title" content="Jitsi Meet"/>
6
     <meta property="og:image" content="/images/jitsilogo.png"/>
6
     <meta property="og:image" content="/images/jitsilogo.png"/>

+ 1
- 0
title.html 查看文件

1
+<title>Jitsi Meet</title>

正在加载...
取消
保存