Files
kustrunandGitHub 0458961531 fix(nginx-conf): Redirect /api-docs to frontend. (#11202)
Previously, when navigating to `/api-docs`, the nginx configuration mistakenly routed the request to the backend because it matched the `api` regex pattern.

We've now refined the regex to match requests to `/api` only if not immediately followed by `-docs`.

Examples:
- **Matches**: `"api/v1"`, `"api-test"`, `"apixyz"`, `"apiDocs"` (anything without `"-docs"` directly after `"api"`)
- **Doesn't Match**: `"api-docs"`, `"api-docs-v2"` (where `"api"` is directly followed by `"-docs"`)
2024-11-20 14:43:20 +04:00
..