feat: Update Nginx configuration to include openapi.json in location block

This commit is contained in:
shiyu
2025-09-02 14:24:47 +08:00
parent 9b0dd13816
commit 620ae17732

View File

@@ -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;