HF RL Explorer

Task: Redirect HTTPS to HTTP on NGINX

Task: Redirect HTTPS to HTTP on NGINX: a task in Terminal-Lego-15k (Harbor dataset). Configure an NGINX virtual host (vhost) configuration file that redirects all HTTPS (port 443) requests to their HTTP (port 80) equivalents. The redirect should preserve the original request URI and use a 301…

The task

Configure an NGINX virtual host (vhost) configuration file that redirects all HTTPS (port 443) requests to their HTTP (port 80) equivalents. The redirect should preserve the original request URI and use a 301 (permanent) redirect status code.

Part of PrimeIntellect/Terminal-Lego-15k.