server { listen 80; server_name _; location /static { root /usr/share/nginx/html; } location /media { root /usr/share/nginx/html; } location / { include uwsgi_params; uwsgi_pass app:3031; } }