Task: Configure Nginx to Redirect HTTP to HTTPS Except for Specific URL Pattern
Task: Configure Nginx to Redirect HTTP to HTTPS Except for Specific URL Pattern: a task in Terminal-Lego-15k (Harbor dataset). Configure an Nginx server to redirect all HTTP traffic to HTTPS, except for URLs matching the pattern /l/ (e.g., /l/page-with-unsafe-iframe ). Pages under the /l/ path…
The task
Configure an Nginx server to redirect all HTTP traffic to HTTPS, **except** for URLs matching the pattern `/l/` (e.g., `/l/page-with-unsafe-iframe`). Pages under the `/l/` path should remain accessible over HTTP without being redirected to HTTPS.
Part of PrimeIntellect/Terminal-Lego-15k.