From fbf9c0d527a145dd191ebeb94fb7a8193ad840b3 Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 16 Oct 2025 16:43:56 -0700 Subject: [PATCH] Fix typo --- self-host/advanced/enable-geoblocking.mdx | 2 +- self-host/advanced/integration-api.mdx | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/self-host/advanced/enable-geoblocking.mdx b/self-host/advanced/enable-geoblocking.mdx index d1ae2cd..bc7a7e6 100644 --- a/self-host/advanced/enable-geoblocking.mdx +++ b/self-host/advanced/enable-geoblocking.mdx @@ -41,7 +41,7 @@ Then run the installer again: ``` - 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: diff --git a/self-host/advanced/integration-api.mdx b/self-host/advanced/integration-api.mdx index 2a31291..207707d 100644 --- a/self-host/advanced/integration-api.mdx +++ b/self-host/advanced/integration-api.mdx @@ -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