From dd5dd3b87d514b332d5238c27aa870de592e49e3 Mon Sep 17 00:00:00 2001 From: Shengqi Chen Date: Wed, 19 Aug 2026 12:53:39 +0800 Subject: [PATCH 1/2] Modify Nginx config for OIDC Discovery support Updated Nginx configuration to include OIDC Discovery path. --- docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx b/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx index ba9d38a55..0bd495dc5 100644 --- a/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx +++ b/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx @@ -70,6 +70,7 @@ server { add_header X-XSS-Protection "1; mode=block" always; # Backend service + # the `.well-known` path is for OIDC Discovery location ~ ^/(api|\.well-known)/.*$ { proxy_pass http://localhost:3001; proxy_set_header Host $host; @@ -198,7 +199,7 @@ If you need to use custom ports for Rybbit: Update your Nginx configuration accordingly: ```nginx -location /api/ { +location ~ ^/(api|\.well-known)/.*$ { proxy_pass http://localhost:8080; # Custom backend port # ... rest of config } From b41a9c617b0a8ab07602b45f3dc4e3964fe3cf1e Mon Sep 17 00:00:00 2001 From: Shengqi Chen Date: Wed, 19 Aug 2026 14:08:08 +0800 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx b/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx index 0bd495dc5..5e2cdb86c 100644 --- a/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx +++ b/docs/content/docs/(docs)/self-hosting-guides/custom-nginx.mdx @@ -70,7 +70,7 @@ server { add_header X-XSS-Protection "1; mode=block" always; # Backend service - # the `.well-known` path is for OIDC Discovery + # The /.well-known/ path is for OIDC discovery location ~ ^/(api|\.well-known)/.*$ { proxy_pass http://localhost:3001; proxy_set_header Host $host;