mirror of
https://github.com/fosrl/docs.git
synced 2025-05-13 13:50:38 +01:00
Replace all proxy.example.com with pangolin.example.com
This commit is contained in:
parent
f5075d573e
commit
dae81c1b32
3 changed files with 7 additions and 7 deletions
|
@ -47,7 +47,7 @@ sudo ./installer
|
||||||
The installer will prompt you for the following basic information. For example:
|
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`
|
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.
|
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).
|
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).
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Pangolin is configured using a `config.yml` file. The file is expected to be mou
|
||||||
### `app`
|
### `app`
|
||||||
|
|
||||||
- `dashboard_url`: string
|
- `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.
|
- 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.
|
- 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
|
- `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)
|
- `cors`: object (optional)
|
||||||
- Configuration for Cross-Origin Resource Sharing (CORS).
|
- Configuration for Cross-Origin Resource Sharing (CORS).
|
||||||
- `origins`: array of strings (optional)
|
- `origins`: array of strings (optional)
|
||||||
- Example: `["https://proxy.example.com"]`
|
- Example: `["https://pangolin.example.com"]`
|
||||||
- List of allowed origins for cross-origin requests.
|
- List of allowed origins for cross-origin requests.
|
||||||
- `methods`: array of strings (optional)
|
- `methods`: array of strings (optional)
|
||||||
- Example: `["GET", "POST", "PUT", "DELETE", "PATCH"]`
|
- Example: `["GET", "POST", "PUT", "DELETE", "PATCH"]`
|
||||||
|
|
|
@ -12,7 +12,7 @@ const DynamicTraefikConfig: React.FC = () => {
|
||||||
routers:
|
routers:
|
||||||
# HTTP to HTTPS redirect router
|
# HTTP to HTTPS redirect router
|
||||||
main-app-router-redirect:
|
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
|
service: next-service
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- web
|
||||||
|
@ -21,7 +21,7 @@ const DynamicTraefikConfig: React.FC = () => {
|
||||||
|
|
||||||
# Next.js router (handles everything except API and WebSocket paths)
|
# Next.js router (handles everything except API and WebSocket paths)
|
||||||
next-router:
|
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
|
service: next-service
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
|
@ -30,7 +30,7 @@ const DynamicTraefikConfig: React.FC = () => {
|
||||||
|
|
||||||
# API router (handles /api/v1 paths)
|
# API router (handles /api/v1 paths)
|
||||||
api-router:
|
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
|
service: api-service
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
|
@ -39,7 +39,7 @@ const DynamicTraefikConfig: React.FC = () => {
|
||||||
|
|
||||||
# WebSocket router
|
# WebSocket router
|
||||||
ws-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
|
service: api-service
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
|
|
Loading…
Reference in a new issue