Lesson 3 of 11 · Fundamentals
location, try_files and rewrites — priority order, root versus alias and redirects without loops
Objective
Know which location block handles a URL, serve a single-page application correctly, avoid the alias "off-by-slash" flaw, and redirect without creating a loop.
This lesson is part of the full course
Unlock Nginx and Apache Web Servers in Production to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.