Update: swagger over nginx
This commit is contained in:
parent
ad6f7d0673
commit
c071c79882
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user