Task: Fix NGINX Configuration to Remove .html Extension Without Redirecting Root to /index
Task: Fix NGINX Configuration to Remove .html Extension Without Redirecting Root to /index: a task in Terminal-Lego-15k (Harbor dataset). Fix an NGINX configuration that removes .html extensions from URLs but has a bug where accessing the root URL (e.g., mypage.com/ ) incorrectly redirects to…
The task
Fix an NGINX configuration that removes `.html` extensions from URLs but has a bug where accessing the root URL (e.g., `mypage.com/`) incorrectly redirects to `mypage.com/index`. The root URL should serve `index.html` directly without any redirect.
Part of PrimeIntellect/Terminal-Lego-15k.