Update: swagger over nginx

This commit is contained in:
dx-tan 2023-12-07 17:06:38 +07:00
parent ad6f7d0673
commit c071c79882

View File

@ -16,6 +16,10 @@ server {
try_files $uri /index.html;
}
location ~ ^/static/drf_spectacular_sidecar/swagger-ui-dist {
proxy_pass {{proxy_server}};
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html