HF RL Explorer

Configure Nginx to Redirect Multiple Domains

Configure Nginx to Redirect Multiple Domains: a task in Terminal-Lego-15k (Harbor dataset). You need to configure Nginx to redirect requests from multiple domains to a single canonical domain. Specifically, when requests come to either domain.example or domain2.example , they should be redirected…

The task

You need to configure Nginx to redirect requests from multiple domains to a single canonical domain. Specifically, when requests come to either `domain.example` or `domain2.example`, they should be redirected to `www.domain.example` while preserving the original URI path.

Part of PrimeIntellect/Terminal-Lego-15k.