aboutsummaryrefslogtreecommitdiff
path: root/nginx_amt-jb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx_amt-jb.conf')
-rw-r--r--nginx_amt-jb.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/nginx_amt-jb.conf b/nginx_amt-jb.conf
index 6d6947c..0b0f385 100644
--- a/nginx_amt-jb.conf
+++ b/nginx_amt-jb.conf
@@ -30,6 +30,16 @@ server {
return 200 '{"status":"ok"}';
}
+ location = /docs/ {
+ include nginx_amt-jb_proxy_pass.conf;
+ proxy_pass http://uvicorn/docs;
+ }
+
+ location = /redoc/ {
+ include nginx_amt-jb_proxy_pass.conf;
+ proxy_pass http://uvicorn/redoc;
+ }
+
location / {
include nginx_amt-jb_proxy_pass.conf;
proxy_pass http://uvicorn;