@ -31,6 +31,18 @@ server {
return 301 /admin/;
}
location /swagger/ {
proxy_pass http://backend:8000/swagger/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
location = /swagger {
absolute_redirect off;
return 301 /swagger/;
location /static/ {
autoindex on;
alias /static/;