diff --git a/nginxconf/flashy.cards b/nginxconf/flashy.cards index 300c08b..8b10d47 100644 --- a/nginxconf/flashy.cards +++ b/nginxconf/flashy.cards @@ -9,7 +9,10 @@ server { root /srv/flashy.cards/; } - location ~ /(api|static|admin|api-auth)/ { + location /static/ { + alias /srv/static/; + } + location ~ /(api|admin|api-auth)/ { proxy_pass http://backend_production; proxy_redirect http://backend_production $scheme://flashy.cards; proxy_set_header Host $host;