HF RL Explorer

Task: NGINX 301 Redirect Configuration - Return vs Rewrite

Task: NGINX 301 Redirect Configuration - Return vs Rewrite: a task in Terminal-Lego-15k (Harbor dataset). Create an NGINX configuration that efficiently handles 301 redirects for a large number of URLs (200+) using the most performant method. You must demonstrate understanding of return 301 vs…

The task

Create an NGINX configuration that efficiently handles 301 redirects for a large number of URLs (200+) using the most performant method. You must demonstrate understanding of `return 301` vs `rewrite ... permanent` by implementing a solution that uses the optimal approach.

Part of PrimeIntellect/Terminal-Lego-15k.