This commit is contained in:
Owen
2025-10-16 16:43:56 -07:00
parent d30f11c251
commit bf3df0f289
2 changed files with 7 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ Then run the installer again:
```
</Step>
<Step title="Update the Pangolin config file">
Update your Pangolin configuration to point to the new GeoIP database file. Edit your `config/config.json` file to include the following entry:
Update your Pangolin configuration to point to the new GeoIP database file. Edit your `config/config.yml` file to include the following entry:
```yaml
server:

View File

@@ -14,25 +14,20 @@ flags:
enable_integration_api: true
```
If you want to specify a port other than the default `3004`, you can do so in the config as well:
If you want to specify a port other than the default `3003`, you can do so in the config as well:
```yaml title="config.yml"
server:
integration_port: 3004 # Specify different port
integration_port: 3003 # Specify different port
```
## Configure Traefik Routing
Add the following configuration to your `dynamic_config.yml` to expose the Integration API at `https://api.example.com/v1`:
Add the following configuration to your `config/traefik/dynamic_config.yml` to expose the Integration API at `https://api.example.com/v1`:
```yaml title="dynamic_config.yml"
http:
middlewares:
redirect-to-https:
redirectScheme:
scheme: https
routers:
# Add the following two routers
int-api-router-redirect:
rule: "Host(`api.example.com`)"
service: int-api-service
@@ -50,10 +45,11 @@ http:
certResolver: letsencrypt
services:
# Add the following service
int-api-service:
loadBalancer:
servers:
- url: "http://pangolin:3004"
- url: "http://pangolin:3003"
```
## Access Documentation