server { listen 80 default_server; listen [::]:80 default_server; server_name _; location /api { proxy_pass http://api:8000/api; } }