Task: Fix Nginx Configuration with Multiple Server Blocks on Same Port
Task: Fix Nginx Configuration with Multiple Server Blocks on Same Port: a task in Terminal-Lego-15k (Harbor dataset). You are given a broken Nginx configuration file that attempts to set up two virtual hosts ( www.example.com and api.example.com ) both listening on port 80. The configuration has…
The task
You are given a broken Nginx configuration file that attempts to set up two virtual hosts (`www.example.com` and `api.example.com`) both listening on port 80. The configuration has syntax errors that prevent Nginx from starting. Your task is to fix the configuration so that it is syntactically valid and correctly…
Part of PrimeIntellect/Terminal-Lego-15k.