Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

harden: de-fingerprint the panel + keep it out of search indexes

Juan Denis70d445da323a
diff --git a/frontend/index.html b/frontend/index.html
index 348c8d98..d4ad8e7f 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -4,12 +4,9 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
- <link rel="icon" type="image/x-icon" href="/favicon.ico" />
- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
- <meta name="description" content="ServerKit - Server Management Dashboard" />
- <title>ServerKit</title>
+ <meta name="description" content="Management console" />
+ <title>Control Panel</title>
<!-- Fonts are SELF-HOSTED (see src/styles/base/_fonts.scss → /fonts/*.woff2).
No Google Fonts / third-party CDN: a self-hosted control panel must not
leak every user's IP + usage to Google. Falls back to system-ui until
diff --git a/frontend/public/favicon-16x16.png b/frontend/public/favicon-16x16.png
deleted file mode 100644
index 3a8b61e8..00000000
Binary files a/frontend/public/favicon-16x16.png and /dev/null differ
diff --git a/frontend/public/favicon-32x32.png b/frontend/public/favicon-32x32.png
deleted file mode 100644
index 07bfa77d..00000000
Binary files a/frontend/public/favicon-32x32.png and /dev/null differ
diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico
deleted file mode 100644
index 6dff199e..00000000
Binary files a/frontend/public/favicon.ico and /dev/null differ
diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg
index c198cd50..32ed9625 100644
--- a/frontend/public/favicon.svg
+++ b/frontend/public/favicon.svg
@@ -1,15 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none">
- <defs>
- <linearGradient id="skFavTile" x1="0" y1="0" x2="32" y2="32" gradientUnits="userSpaceOnUse">
- <stop stop-color="#6d7cff"/>
- <stop offset="1" stop-color="#5a67e8"/>
- </linearGradient>
- </defs>
- <rect width="32" height="32" rx="7" fill="url(#skFavTile)"/>
- <g transform="translate(6 6) scale(0.8333)" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <rect x="2" y="2" width="20" height="8" rx="2" ry="2"/>
- <rect x="2" y="14" width="20" height="8" rx="2" ry="2"/>
- <line x1="6" y1="6" x2="6.01" y2="6"/>
- <line x1="6" y1="18" x2="6.01" y2="18" stroke="#3ddc97"/>
- </g>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="6" fill="#334155"/></svg>
\ No newline at end of file
diff --git a/frontend/public/manifest.json b/frontend/public/manifest.json
index e886aba5..888cd0fd 100644
--- a/frontend/public/manifest.json
+++ b/frontend/public/manifest.json
@@ -1,7 +1,7 @@
{
- "name": "ServerKit",
- "short_name": "ServerKit",
- "description": "Server control panel for managing web applications, databases, and infrastructure",
+ "name": "Control Panel",
+ "short_name": "Control Panel",
+ "description": "Management console",
"start_url": "/",
"display": "standalone",
"background_color": "#0f172a",
diff --git a/frontend/public/sw.js b/frontend/public/sw.js
index 5295ad34..05381bad 100644
--- a/frontend/public/sw.js
+++ b/frontend/public/sw.js
@@ -1,6 +1,6 @@
-// ServerKit Service Worker for PWA / Offline support
+// Service Worker for PWA / Offline support
-const CACHE_NAME = 'serverkit-v1';
+const CACHE_NAME = 'app-cache-v1';
const OFFLINE_URL = '/';
// Assets to cache on install
@@ -48,7 +48,7 @@ self.addEventListener('fetch', (event) => {
// Push notification handler
self.addEventListener('push', (event) => {
const data = event.data ? event.data.json() : {};
- const title = data.title || 'ServerKit';
+ const title = data.title || 'Control Panel';
const options = {
body: data.body || 'New notification',
icon: '/favicon.svg',
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index ab7c963d..589296f9 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -182,11 +182,11 @@ function PageTitleUpdater() {
else if (path.startsWith('/servers/')) title = 'Server Details';
else if (path.startsWith('/wordpress/pipelines/') || path.startsWith('/wordpress/projects/')) title = 'WordPress Pipeline';
else if (path.startsWith('/wordpress/')) title = 'WordPress Site';
- else title = 'ServerKit';
+ else title = '';
}
}
- document.title = title ? `${title} | ServerKit` : 'ServerKit';
+ document.title = title ? `${title} | Control Panel` : 'Control Panel';
}, [location, pluginTitles]);
return null;
diff --git a/frontend/src/components/AppLoader.jsx b/frontend/src/components/AppLoader.jsx
index 7f823401..7532b1d6 100644
--- a/frontend/src/components/AppLoader.jsx
+++ b/frontend/src/components/AppLoader.jsx
@@ -1,14 +1,14 @@
/**
* Full-screen initial loader shown while auth/setup state is resolved.
*
- * A ServerKit-branded tile holding the server glyph whose status LEDs blink like
+ * A branded tile holding the server glyph whose status LEDs blink like
* a machine booting, plus a slim indeterminate progress bar. No spinner — the
* server "powering on" is the loading metaphor. Matches the sidebar brand mark
* and the favicon so first paint feels of-a-piece.
*/
export function AppLoader() {
return (
- <div className="app-loader" role="status" aria-live="polite" aria-label="Loading ServerKit">
+ <div className="app-loader" role="status" aria-live="polite" aria-label="Loading">
<div className="app-loader__logo">
<svg
className="app-loader__glyph"
@@ -30,7 +30,7 @@ export function AppLoader() {
<div className="app-loader__bar" aria-hidden="true">
<span className="app-loader__bar-fill" />
</div>
- <span className="app-loader__label">Loading ServerKit</span>
+ <span className="app-loader__label">Loading</span>
</div>
);
}
diff --git a/frontend/src/hooks/usePageTitle.js b/frontend/src/hooks/usePageTitle.js
index c7ac1a10..ebc325ee 100644
--- a/frontend/src/hooks/usePageTitle.js
+++ b/frontend/src/hooks/usePageTitle.js
@@ -2,12 +2,12 @@ import { useEffect } from 'react';
/**
* Hook to set the page title
- * @param {string} title - The page title (will be appended with " | ServerKit")
+ * @param {string} title - The page title (will be appended with " | Control Panel")
*/
export function usePageTitle(title) {
useEffect(() => {
const previousTitle = document.title;
- document.title = title ? `${title} | ServerKit` : 'ServerKit';
+ document.title = title ? `${title} | Control Panel` : 'Control Panel';
return () => {
document.title = previousTitle;
diff --git a/frontend/src/pages/Login.jsx b/frontend/src/pages/Login.jsx
index 77addd92..45dbab79 100644
--- a/frontend/src/pages/Login.jsx
+++ b/frontend/src/pages/Login.jsx
@@ -291,7 +291,7 @@ const Login = () => {
<div className="brand-logo">
<ServerKitLogo width={40} height={40} />
</div>
- <h1>ServerKit</h1>
+ <h1>Control Panel</h1>
<p>Signing you in…</p>
</div>
</div>
@@ -307,7 +307,7 @@ const Login = () => {
<div className="brand-logo">
<ServerKitLogo width={40} height={40} />
</div>
- <h1>ServerKit</h1>
+ <h1>Control Panel</h1>
<p>Sign in to your account</p>
</div>
diff --git a/frontend/src/pages/Register.jsx b/frontend/src/pages/Register.jsx
index d469898d..a4fdfc5a 100644
--- a/frontend/src/pages/Register.jsx
+++ b/frontend/src/pages/Register.jsx
@@ -46,7 +46,7 @@ const Register = () => {
<div className="brand-logo">
<ServerKitLogo width={40} height={40} />
</div>
- <h1>ServerKit</h1>
+ <h1>Control Panel</h1>
<p>Registration is currently disabled</p>
</div>
<p className="auth-footer">
@@ -65,7 +65,7 @@ const Register = () => {
<div className="brand-logo">
<ServerKitLogo width={40} height={40} />
</div>
- <h1>ServerKit</h1>
+ <h1>Control Panel</h1>
<p>Validating invitation...</p>
</div>
</div>
@@ -81,7 +81,7 @@ const Register = () => {
<div className="brand-logo">
<ServerKitLogo width={40} height={40} />
</div>
- <h1>ServerKit</h1>
+ <h1>Control Panel</h1>
<p>This invitation is invalid or has expired</p>
</div>
<p className="auth-footer">
@@ -125,7 +125,7 @@ const Register = () => {
<div className="brand-logo">
<ServerKitLogo width={40} height={40} />
</div>
- <h1>ServerKit</h1>
+ <h1>Control Panel</h1>
<p>{inviteInfo ? `You've been invited as ${inviteInfo.role}` : 'Create your account'}</p>
</div>
diff --git a/frontend/src/pages/Setup.jsx b/frontend/src/pages/Setup.jsx
index 42cb70b6..d68416c5 100644
--- a/frontend/src/pages/Setup.jsx
+++ b/frontend/src/pages/Setup.jsx
@@ -118,7 +118,7 @@ const Setup = () => {
<div className="wizard-card">
<div className="wizard-header">
<ServerKitLogo className="wizard-logo" width={48} height={48} />
- <h1>Welcome to ServerKit</h1>
+ <h1>Welcome</h1>
<p>Let&apos;s get your server ready</p>
</div>
diff --git a/nginx/sites-available/serverkit-insecure.conf b/nginx/sites-available/serverkit-insecure.conf
index eba294ed..93416801 100644
--- a/nginx/sites-available/serverkit-insecure.conf
+++ b/nginx/sites-available/serverkit-insecure.conf
@@ -22,6 +22,10 @@ server {
listen 80 default_server;
server_name _;
+ # Keep the panel out of search indexes. Defense-in-depth only — port
+ # scanners (Shodan/Censys) ignore this; real hiding is access control.
+ add_header X-Robots-Tag "noindex, nofollow, noarchive" always;
+
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
diff --git a/nginx/sites-available/serverkit.conf b/nginx/sites-available/serverkit.conf
index 9bb07d1f..3004bbf7 100644
--- a/nginx/sites-available/serverkit.conf
+++ b/nginx/sites-available/serverkit.conf
@@ -98,6 +98,9 @@ server {
add_header X-XSS-Protection "1; mode=block" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header Permissions-Policy "geolocation=(), microphone=(), camera=()" always;
+ # Keep the panel out of search indexes (scanners ignore it — real hiding is
+ # access control; this just stops accidental Google/Bing indexing).
+ add_header X-Robots-Tag "noindex, nofollow, noarchive" always;
# Content Security Policy
# Note: 'unsafe-inline'/'unsafe-eval' are kept because many SPAs need them.