# ASW Nginx Error Pages — config snippet # # Paste this into your nginx server block. # Adjust the alias path to where your agentic-semantic-web repo lives. # # Assumes asw.css is served at /asw/asw.css # (see nginx-asw-css.conf for the CSS serving block) # ── Error pages ────────────────────────────────────────────────────────────── error_page 400 /errors/400.html; error_page 401 /errors/401.html; error_page 403 /errors/403.html; error_page 404 /errors/404.html; error_page 500 /errors/500.html; error_page 502 /errors/502.html; error_page 503 /errors/503.html; # Serve error pages from the ASW repo. # `internal` means these URLs are only accessible via internal redirects (error_page), # not directly from the browser — prevents users from 200ing your error pages. location /errors/ { alias /home/exedev/projects/agentic-semantic-web/errors/; internal; }