From dae81c1b3213756561169b89488d2242d66a6488 Mon Sep 17 00:00:00 2001 From: Tobias Diekel Date: Tue, 18 Mar 2025 23:35:08 +0100 Subject: [PATCH] Replace all proxy.example.com with pangolin.example.com --- .../docs/02-Getting Started/03-quick-install.md | 2 +- .../docs/03-Pangolin/02-Configuration/02-config.md | 4 ++-- .../docusaurus/src/components/DynamicTraefikConfig.tsx | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/docusaurus/docs/02-Getting Started/03-quick-install.md b/packages/docusaurus/docs/02-Getting Started/03-quick-install.md index c8ef3fd..d1dbba8 100644 --- a/packages/docusaurus/docs/02-Getting Started/03-quick-install.md +++ b/packages/docusaurus/docs/02-Getting Started/03-quick-install.md @@ -47,7 +47,7 @@ sudo ./installer The installer will prompt you for the following basic information. For example: 1. **Base Domain Name**: Enter your base fully qualified domain name (without any subdomains) Example: `example.com` -2. **Dashboard Domain Name**: The domain where the application will be hosted. This is used for many things, including generating links. You can run Pangolin on a subdomain or root domain. Example: `proxy.example.com` +2. **Dashboard Domain Name**: The domain where the application will be hosted. This is used for many things, including generating links. You can run Pangolin on a subdomain or root domain. Example: `pangolin.example.com` 3. **Let's Encrypt Email**: Provide an email address for SSL certificate registration with Lets Encrypt. This should be an email you have access to. 4. **Tunneling** You can choose not to install Gerbil for tunneling support - in this config it will just be a normal reverse proxy. See [how to use without tunneling](/03-Pangolin/03-without-tunneling.md). diff --git a/packages/docusaurus/docs/03-Pangolin/02-Configuration/02-config.md b/packages/docusaurus/docs/03-Pangolin/02-Configuration/02-config.md index 98d00d0..179ccf6 100644 --- a/packages/docusaurus/docs/03-Pangolin/02-Configuration/02-config.md +++ b/packages/docusaurus/docs/03-Pangolin/02-Configuration/02-config.md @@ -7,7 +7,7 @@ Pangolin is configured using a `config.yml` file. The file is expected to be mou ### `app` - `dashboard_url`: string - - Example: `https://example.com` or `https://proxy.example.com` + - Example: `https://example.com` or `https://pangolin.example.com` - The url where the application is hosted. This is used for many things, including generating links. - You can run Pangolin on a subdomain or root domain. Users will be redirected to this url to complete the auth step. - `log_level`: string @@ -45,7 +45,7 @@ Pangolin is configured using a `config.yml` file. The file is expected to be mou - `cors`: object (optional) - Configuration for Cross-Origin Resource Sharing (CORS). - `origins`: array of strings (optional) - - Example: `["https://proxy.example.com"]` + - Example: `["https://pangolin.example.com"]` - List of allowed origins for cross-origin requests. - `methods`: array of strings (optional) - Example: `["GET", "POST", "PUT", "DELETE", "PATCH"]` diff --git a/packages/docusaurus/src/components/DynamicTraefikConfig.tsx b/packages/docusaurus/src/components/DynamicTraefikConfig.tsx index 9519265..c0ad4fe 100644 --- a/packages/docusaurus/src/components/DynamicTraefikConfig.tsx +++ b/packages/docusaurus/src/components/DynamicTraefikConfig.tsx @@ -12,7 +12,7 @@ const DynamicTraefikConfig: React.FC = () => { routers: # HTTP to HTTPS redirect router main-app-router-redirect: - rule: "Host(\`proxy.example.com\`)" # REPLACE THIS WITH YOUR DOMAIN + rule: "Host(\`pangolin.example.com\`)" # REPLACE THIS WITH YOUR DOMAIN service: next-service entryPoints: - web @@ -21,7 +21,7 @@ const DynamicTraefikConfig: React.FC = () => { # Next.js router (handles everything except API and WebSocket paths) next-router: - rule: "Host(\`proxy.example.com\`) && !PathPrefix(\`/api/v1\`)" # REPLACE THIS WITH YOUR DOMAIN + rule: "Host(\`pangolin.example.com\`) && !PathPrefix(\`/api/v1\`)" # REPLACE THIS WITH YOUR DOMAIN service: next-service entryPoints: - websecure @@ -30,7 +30,7 @@ const DynamicTraefikConfig: React.FC = () => { # API router (handles /api/v1 paths) api-router: - rule: "Host(\`proxy.example.com\`) && PathPrefix(\`/api/v1\`)" # REPLACE THIS WITH YOUR DOMAIN + rule: "Host(\`pangolin.example.com\`) && PathPrefix(\`/api/v1\`)" # REPLACE THIS WITH YOUR DOMAIN service: api-service entryPoints: - websecure @@ -39,7 +39,7 @@ const DynamicTraefikConfig: React.FC = () => { # WebSocket router ws-router: - rule: "Host(\`proxy.example.com\`)" # REPLACE THIS WITH YOUR DOMAIN + rule: "Host(\`pangolin.example.com\`)" # REPLACE THIS WITH YOUR DOMAIN service: api-service entryPoints: - websecure