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

This commit is contained in:
hristoterezov 2014-09-30 16:05:28 +03:00
parent 4d5bb61f0a
commit 380b1de723
4 changed files with 11 additions and 1 deletions

View File

@ -17,6 +17,10 @@ server {
rewrite ^/(.*)$ / break;
}
location / {
ssi on;
}
# BOSH
location /http-bind {
proxy_pass http://localhost:5280/http-bind;

View File

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

View File

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

1
title.html Normal file
View File

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