Task: Fix CORS Configuration in Nginx Reverse Proxy
Task: Fix CORS Configuration in Nginx Reverse Proxy: a task in Terminal-Lego-15k (Harbor dataset). Fix an Nginx reverse proxy configuration that fails to properly handle CORS (Cross-Origin Resource Sharing) preflight requests. The current configuration returns a 405 error when a browser sends an…
The task
Fix an Nginx reverse proxy configuration that fails to properly handle CORS (Cross-Origin Resource Sharing) preflight requests. The current configuration returns a 405 error when a browser sends an OPTIONS preflight request from `http://admin.localhost:3000` to `http://api.localhost/admin/login`, because the CORS…
Part of PrimeIntellect/Terminal-Lego-15k.