Skip to content

Commit 5f6cbe0

Browse files
authored
feat: add RustFS config generator (#95)
1 parent 8538689 commit 5f6cbe0

7 files changed

Lines changed: 985 additions & 2 deletions

File tree

‎app/download/components/installation-topology.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default function InstallationTopology() {
163163
};
164164

165165
return (
166-
<section className="py-20">
166+
<section id="topology" className="scroll-mt-24 py-20">
167167
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
168168
<div>
169169
<div className="mb-10">

‎app/layout.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export default async function RootLayout({
5555
<meta name="yandexbot" content="index, follow" />
5656
<meta key="twitter:site" name="twitter:site" content="@rustfs" />
5757
<meta key="twitter:creator" name="twitter:creator" content="@rustfs" />
58-
<meta key="og:type" property="og:type" content="article" />
5958
<meta name="baidu-site-verification" content="codeva-TTcVEynElc" />
6059
<link
6160
rel="apple-touch-icon"
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import type { Metadata } from "next";
2+
import RustfsConfigGenerator from "@/components/business/rustfs-config-generator";
3+
4+
export const metadata: Metadata = {
5+
title: "RustFS Config Generator | Generate /etc/default/rustfs Online",
6+
description:
7+
"Generate a RustFS /etc/default/rustfs config file in seconds — set S3 API and console ports, volumes, access keys, log level, and OpenTelemetry.",
8+
keywords: [
9+
"RustFS config generator",
10+
"/etc/default/rustfs",
11+
"RUSTFS_ADDRESS",
12+
"RUSTFS_CONSOLE_ADDRESS",
13+
"RUSTFS_VOLUMES",
14+
"RUSTFS_ACCESS_KEY",
15+
"RUSTFS_SECRET_KEY",
16+
"RUSTFS_OBS_LOGGER_LEVEL",
17+
"RUSTFS_OBS_LOG_DIRECTORY",
18+
"RUSTFS_OBS_ENDPOINT",
19+
"RustFS configuration file",
20+
],
21+
alternates: {
22+
canonical: "/rustfs-config-generator",
23+
},
24+
openGraph: {
25+
title: "RustFS Config Generator | Generate /etc/default/rustfs Online",
26+
description:
27+
"Generate a RustFS /etc/default/rustfs config file in seconds — set S3 API and console ports, volumes, access keys, log level, and OpenTelemetry.",
28+
type: "website",
29+
url: "/rustfs-config-generator",
30+
locale: "en_US",
31+
siteName: "RustFS",
32+
images: [
33+
{
34+
url: "/images/og/rustfs-config-generator.png",
35+
width: 1200,
36+
height: 1200,
37+
alt: "RustFS Config Generator",
38+
},
39+
],
40+
},
41+
twitter: {
42+
card: "summary_large_image",
43+
title: "RustFS Config Generator | Generate /etc/default/rustfs Online",
44+
description:
45+
"Generate a RustFS /etc/default/rustfs config file in seconds — set S3 API and console ports, volumes, access keys, log level, and OpenTelemetry.",
46+
images: ["/images/og/rustfs-config-generator.png"],
47+
},
48+
};
49+
50+
export default function RustfsConfigGeneratorPage() {
51+
return (
52+
<main className="flex-1">
53+
<RustfsConfigGenerator />
54+
</main>
55+
);
56+
}

0 commit comments

Comments
 (0)