From 620ae17732063aa53f8404e103213fab54782911 Mon Sep 17 00:00:00 2001 From: shiyu Date: Tue, 2 Sep 2025 14:24:47 +0800 Subject: [PATCH] feat: Update Nginx configuration to include openapi.json in location block --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index ee0a187..272db13 100644 --- a/nginx.conf +++ b/nginx.conf @@ -28,7 +28,7 @@ http { listen 80; server_name _; - location ~ ^/(api|docs) { + location ~ ^/(api|docs|openapi\.json$) { proxy_pass http://127.0.0.1:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;