From 041a5d92e05b3c98cccf6db9f2d05a9549ca3510 Mon Sep 17 00:00:00 2001 From: ITQ Date: Thu, 8 May 2025 14:21:46 +0300 Subject: [PATCH] fix: fixed url rewrite for docs --- compose.yaml | 1 - infrastructure/nginx/nginx.conf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index b38f370..aa6165e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -376,7 +376,6 @@ services: custom_python: image: registry.gitlab.com/megazordpobeda/datarush/custom-python:${VERSION:-latest} - entrypoint: ["sh", "-c", "exit 0"] checker: image: registry.gitlab.com/megazordpobeda/datarush/checker:${VERSION:-latest} diff --git a/infrastructure/nginx/nginx.conf b/infrastructure/nginx/nginx.conf index 797fdbe..3f53c34 100644 --- a/infrastructure/nginx/nginx.conf +++ b/infrastructure/nginx/nginx.conf @@ -108,7 +108,7 @@ http { } location /docs { - rewrite ^/docs/(.*)$ /$1 break; + rewrite ^/docs(.*) /$1 break; proxy_pass http://docs:80; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;