Replace all proxy.example.com with pangolin.example.com

This commit is contained in:
Tobias Diekel 2025-03-18 23:35:08 +01:00
parent f5075d573e
commit dae81c1b32
3 changed files with 7 additions and 7 deletions

View file

@ -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).

View file

@ -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"]`

View file

@ -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