HF RL Explorer

Task: Fix Nginx Rewrite Rule to Remove Query Parameters

Task: Fix Nginx Rewrite Rule to Remove Query Parameters: a task in Terminal-Lego-15k (Harbor dataset). Write an Nginx configuration snippet that rewrites URLs with query parameters to clean URLs, ensuring query parameters are stripped during the redirect.

The task

Write an Nginx configuration snippet that rewrites URLs with query parameters to clean URLs, ensuring query parameters are **stripped** during the redirect.

Part of PrimeIntellect/Terminal-Lego-15k.