diff --git a/files/nginx/conf/000-default.conf b/files/nginx/conf/000-default.conf index 0ae1cdd..c64ea3d 100644 --- a/files/nginx/conf/000-default.conf +++ b/files/nginx/conf/000-default.conf @@ -90,6 +90,14 @@ server { proxy_set_header Connection "upgrade"; } + location /docs/ { + proxy_pass http://127.0.0.1:3000/docs/; + proxy_set_header Host $http_host; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } + if ($request_method !~ ^(GET|HEAD|POST|PUT|DELETE)$ ) { return 405;