diff --git a/ops/infra/nginx.conf b/ops/infra/nginx.conf index f8ce2999d6..1da0817ead 100644 --- a/ops/infra/nginx.conf +++ b/ops/infra/nginx.conf @@ -16,7 +16,7 @@ http { location / { try_files $uri $uri/ /index.html; -} + } location ~* \.(js|svg|jpg|png|css|html|webmanifest|xml)$ { root /usr/share/nginx/html; @@ -25,5 +25,8 @@ http { location /api { proxy_pass http://backend:4322; } + location /api/v1/swagger-ui/ { + proxy_pass http://backend:4322/api/v1/docs; + } } }