Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🔒️(frontend) keep rooms out of search engine

briquet6a1622cd5012
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95f8ff13..593606a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ and this project adheres to
- ⬆️(summary) update ffmpeg to 8.1.3-r0
- ✨(frontend) replace the Crisp chat with the La Suite support form
+- 🔒️(frontend) keep rooms out of search engine and AI indexes
## [1.36.3] - 2026-10-23
diff --git a/UPGRADE.md b/UPGRADE.md
index 387ea90e..8d6f98b9 100644
--- a/UPGRADE.md
+++ b/UPGRADE.md
@@ -21,6 +21,11 @@ the following command inside your docker container:
The Crisp chat is gone, the support button, now open the La Suite support form. They are hidden unless these `FRONTEND_SUPPORT` keys are all set.
The former help links for recording/transcription are now redirecting to the adhoc page in the official documentation
+### Pages hidden from search engines
+
+Every page except `/` now carries a `noindex` tag and, with the provided nginx configurations, an `X-Robots-Tag` header to stay out of search indexes.
+A new `robots.txt` also blocks the main AI crawlers. If you maintain your own nginx configuration, copy the `location = /` and `location = /home.html` blocks from `src/frontend/default.conf`, and the `X-Robots-Tag` header from its `location /`.
+
## [v1.35.0]
### Purging deleted rooms
diff --git a/deploy/paas/servers.conf.erb b/deploy/paas/servers.conf.erb
index a649cf2b..bc599bf3 100644
--- a/deploy/paas/servers.conf.erb
+++ b/deploy/paas/servers.conf.erb
@@ -38,6 +38,17 @@ server {
add_header Cache-Control "public, max-age=2592000";
}
+ location = / {
+ try_files /home.html /index.html;
+ add_header Cache-Control "no-cache, no-store, must-revalidate";
+ add_header Pragma "no-cache";
+ add_header Expires 0;
+ }
+
+ location = /home.html {
+ internal;
+ }
+
# Serve static files
location / {
try_files $uri $uri/ /index.html;
@@ -45,6 +56,7 @@ server {
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache"; # HTTP 1.0 header for backward compatibility
add_header Expires 0;
+ add_header X-Robots-Tag "noindex, nofollow" always;
}
# Optionally, handle 404 errors by redirecting to index.html
diff --git a/docker/dinum-frontend/Dockerfile b/docker/dinum-frontend/Dockerfile
index d2e8dd38..046c7f71 100644
--- a/docker/dinum-frontend/Dockerfile
+++ b/docker/dinum-frontend/Dockerfile
@@ -65,7 +65,8 @@ RUN apk upgrade --no-cache libexpat && \
apk add --no-cache --upgrade 'pcre2>=10.49-r0' 'tiff>=4.7.2-r0' \
'libx11>=1.8.14-r0' 'ca-certificates>=20261020-r0' \
'brotli-libs>=1.2.1-r0' && \
- apk del curl
+ apk del curl && \
+ rm -f /usr/share/nginx/html/50x.html
USER nginx
USER nginx
diff --git a/docker/dinum-frontend/nginx/default.conf b/docker/dinum-frontend/nginx/default.conf
index c3d26ec6..4803bdf7 100644
--- a/docker/dinum-frontend/nginx/default.conf
+++ b/docker/dinum-frontend/nginx/default.conf
@@ -43,6 +43,7 @@ server {
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache" always;
add_header Expires 0 always;
+ add_header X-Robots-Tag "noindex, nofollow" always;
set $ms_domains "https://*.live.com https://*.office.com https://*.microsoft.com https://*.office365.com https://*.sharepoint.com";
@@ -76,6 +77,17 @@ server {
add_header Cache-Control "public, max-age=2592000";
}
+ location = / {
+ try_files /home.html /index.html;
+ add_header Cache-Control "no-cache, no-store, must-revalidate";
+ add_header Pragma "no-cache";
+ add_header Expires 0;
+ }
+
+ location = /home.html {
+ internal;
+ }
+
# Serve static files
location / {
try_files $uri $uri/ /index.html;
@@ -83,6 +95,7 @@ server {
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache"; # HTTP 1.0 header for backward compatibility
add_header Expires 0;
+ add_header X-Robots-Tag "noindex, nofollow" always;
}
# Optionally, handle 404 errors by redirecting to index.html
diff --git a/src/addons/outlook/src/commands/commands.html b/src/addons/outlook/src/commands/commands.html
index 79975311..c8e081bb 100644
--- a/src/addons/outlook/src/commands/commands.html
+++ b/src/addons/outlook/src/commands/commands.html
@@ -2,6 +2,7 @@
<html lang="fr">
<head>
<meta charset="UTF-8" />
+ <meta name="robots" content="noindex, nofollow" />
<title data-app-name></title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<script nonce="NONCE_PLACEHOLDER" src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script>
diff --git a/src/addons/outlook/src/success/success.html b/src/addons/outlook/src/success/success.html
index 09bbd3eb..88bb879f 100644
--- a/src/addons/outlook/src/success/success.html
+++ b/src/addons/outlook/src/success/success.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="noindex, nofollow" />
<title data-app-name></title>
<link rel="stylesheet" href="../styles/spinner.css" />
<script nonce="NONCE_PLACEHOLDER" src="/addons/outlook/config.js"></script>
diff --git a/src/addons/outlook/src/taskpane/taskpane.html b/src/addons/outlook/src/taskpane/taskpane.html
index 139b7f2b..2da8dad7 100644
--- a/src/addons/outlook/src/taskpane/taskpane.html
+++ b/src/addons/outlook/src/taskpane/taskpane.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="noindex, nofollow" />
<title data-app-name></title>
<link rel="stylesheet" href="taskpane.css" />
<script nonce="NONCE_PLACEHOLDER" src="/addons/outlook/config.js"></script>
diff --git a/src/addons/outlook/src/transit/transit.html b/src/addons/outlook/src/transit/transit.html
index 58b8d5fe..950206d1 100644
--- a/src/addons/outlook/src/transit/transit.html
+++ b/src/addons/outlook/src/transit/transit.html
@@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="noindex, nofollow" />
<title data-app-name></title>
<link rel="stylesheet" href="../styles/spinner.css" />
<script nonce="NONCE_PLACEHOLDER" src="/addons/outlook/config.js"></script>
diff --git a/src/frontend/Dockerfile b/src/frontend/Dockerfile
index cb5175cf..00e70d4e 100644
--- a/src/frontend/Dockerfile
+++ b/src/frontend/Dockerfile
@@ -54,7 +54,8 @@ RUN apk upgrade --no-cache libexpat && \
apk add --no-cache --upgrade 'pcre2>=10.49-r0' 'tiff>=4.7.2-r0' \
'libx11>=1.8.14-r0' 'ca-certificates>=20261020-r0' \
'brotli-libs>=1.2.1-r0' && \
- apk del curl
+ apk del curl && \
+ rm -f /usr/share/nginx/html/50x.html
USER nginx
# Un-privileged user running the application
diff --git a/src/frontend/default.conf b/src/frontend/default.conf
index cf83d258..11b15c14 100644
--- a/src/frontend/default.conf
+++ b/src/frontend/default.conf
@@ -16,6 +16,17 @@ server {
add_header Cache-Control "public, max-age=2592000";
}
+ location = / {
+ try_files /home.html /index.html;
+ add_header Cache-Control "no-cache, no-store, must-revalidate";
+ add_header Pragma "no-cache";
+ add_header Expires 0;
+ }
+
+ location = /home.html {
+ internal;
+ }
+
# Serve static files
location / {
try_files $uri $uri/ /index.html;
@@ -23,6 +34,7 @@ server {
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache"; # HTTP 1.0 header for backward compatibility
add_header Expires 0;
+ add_header X-Robots-Tag "noindex, nofollow" always;
}
# Optionally, handle 404 errors by redirecting to index.html
diff --git a/src/frontend/index.html b/src/frontend/index.html
index d6a3eff2..6759baad 100644
--- a/src/frontend/index.html
+++ b/src/frontend/index.html
@@ -7,6 +7,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="robots" content="noindex, nofollow" />
<title>%VITE_APP_TITLE%</title>
</head>
<body>
diff --git a/src/frontend/public/robots.txt b/src/frontend/public/robots.txt
new file mode 100644
index 00000000..0edcd70c
--- /dev/null
+++ b/src/frontend/public/robots.txt
@@ -0,0 +1,18 @@
+User-agent: GPTBot
+User-agent: OAI-SearchBot
+User-agent: ChatGPT-User
+User-agent: ClaudeBot
+User-agent: Claude-SearchBot
+User-agent: Claude-User
+User-agent: PerplexityBot
+User-agent: Perplexity-User
+User-agent: Google-Extended
+User-agent: Applebot-Extended
+User-agent: CCBot
+User-agent: Meta-ExternalAgent
+User-agent: Amazonbot
+User-agent: Bytespider
+Disallow: /
+
+User-agent: *
+Allow: /
diff --git a/src/frontend/vite.config.ts b/src/frontend/vite.config.ts
index 52ef7a17..900f1526 100644
--- a/src/frontend/vite.config.ts
+++ b/src/frontend/vite.config.ts
@@ -1,5 +1,6 @@
-import { readFileSync } from 'node:fs'
-import { defineConfig, loadEnv } from 'vite'
+import { readFileSync, writeFileSync } from 'node:fs'
+import { join } from 'node:path'
+import { defineConfig, loadEnv, type Plugin } from 'vite'
import react from '@vitejs/plugin-react'
import { visualizer } from 'rollup-plugin-visualizer'
import svgr from 'vite-plugin-svgr'
@@ -25,6 +26,23 @@ if (mediapipeVersion !== livekitMediapipeVersion) {
)
}
+const NOINDEX_TAG = '<meta name="robots" content="noindex, nofollow" />'
+
+const homePage = (): Plugin => ({
+ name: 'home-page',
+ apply: 'build',
+ writeBundle({ dir = 'dist' }) {
+ const html = readFileSync(join(dir, 'index.html'), 'utf-8')
+ if (!html.includes(NOINDEX_TAG)) {
+ throw new Error(
+ `${dir}/index.html does not contain ${NOINDEX_TAG}, so home.html ` +
+ `cannot be generated from it. The two must stay in sync.`
+ )
+ }
+ writeFileSync(join(dir, 'home.html'), html.replace(NOINDEX_TAG, ''))
+ },
+})
+
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd())
@@ -66,6 +84,7 @@ export default defineConfig(({ mode }) => {
},
],
}),
+ homePage(),
env.VITE_ANALYZE === 'true' &&
visualizer({
open: true,
diff --git a/src/helm/extra/templates/frontend_nginx_cm.yaml b/src/helm/extra/templates/frontend_nginx_cm.yaml
index 3c6ef2df..4d3d8a55 100644
--- a/src/helm/extra/templates/frontend_nginx_cm.yaml
+++ b/src/helm/extra/templates/frontend_nginx_cm.yaml
@@ -51,6 +51,7 @@ data:
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache" always;
add_header Expires 0 always;
+ add_header X-Robots-Tag "noindex, nofollow" always;
set $ms_domains "https://*.live.com https://*.office.com https://*.microsoft.com https://*.office365.com https://*.sharepoint.com";
@@ -84,6 +85,17 @@ data:
add_header Cache-Control "public, max-age=2592000";
}
+ location = / {
+ try_files /home.html /index.html;
+ add_header Cache-Control "no-cache, no-store, must-revalidate";
+ add_header Pragma "no-cache";
+ add_header Expires 0;
+ }
+
+ location = /home.html {
+ internal;
+ }
+
# Serve static files
location / {
try_files $uri $uri/ /index.html;
@@ -91,6 +103,7 @@ data:
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache"; # HTTP 1.0 header for backward compatibility
add_header Expires 0;
+ add_header X-Robots-Tag "noindex, nofollow" always;
}
# Optionally, handle 404 errors by redirecting to index.html