From dba08fb0a981f5417020734063862ecdc61bf9b8 Mon Sep 17 00:00:00 2001 From: Bola Malek Date: Sat, 24 Aug 2024 14:38:01 +0000 Subject: [PATCH] Try again to handle all v1 paths --- pyproject.toml | 2 +- truss/templates/docker_server/proxy.conf.jinja | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3daa8a5f5..0cac55cb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "truss" -version = "0.9.31.dev-3" +version = "0.9.31.dev-4" description = "A seamless bridge from model development to model delivery" license = "MIT" readme = "README.md" diff --git a/truss/templates/docker_server/proxy.conf.jinja b/truss/templates/docker_server/proxy.conf.jinja index f8761e535..368a16bc0 100644 --- a/truss/templates/docker_server/proxy.conf.jinja +++ b/truss/templates/docker_server/proxy.conf.jinja @@ -29,7 +29,7 @@ server { } # Forward all other paths - location / { + location ~ ^/v1 { proxy_redirect off; proxy_read_timeout 300s;