Browse Source

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

master
hristoterezov 10 years ago
parent
commit
380b1de723

+ 4
- 0
debian/usr/share/doc/jitsi-meet/jitsi-meet.example View File

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

+ 5
- 0
doc/example-config-files/jitsi.example.com.example View File

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

+ 1
- 1
index.html View File

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

+ 1
- 0
title.html View File

@@ -0,0 +1 @@
1
+<title>Jitsi Meet</title>

Loading…
Cancel
Save