Skip to content

Commit 0c5aa30

Browse files
committed
nginx
1 parent 4ca5546 commit 0c5aa30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

template/frontend/{% if not deploy_as_executable %}default.conf.template{% endif %}.jinja

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
location /static/swagger/ {
2929
try_files $uri @proxy;
3030
}
31+
# Pass requests for the OpenAPI spec document to the backend
32+
location /openapi.json {
33+
try_files $uri @proxy;
34+
}
3135

3236
# Named location with shared proxy configuration
3337
location @proxy {

0 commit comments

Comments
 (0)