diff --git a/default.conf b/default.conf index 2636219..28842e7 100644 --- a/default.conf +++ b/default.conf @@ -28,4 +28,31 @@ server { location = /404.html { internal; } + # Machine-readable site summaries (UTF-8 Markdown in .txt files). + location ~ ^/llms(?:-full)?\.txt$ { + types { } + default_type text/plain; + charset utf-8; + add_header Cache-Control "public, max-age=3600"; + try_files $uri =404; + } + + # Keep the source legal page's noindex policy on its Markdown copy. + location = /legal.md { + types { } + default_type text/markdown; + charset utf-8; + add_header X-Robots-Tag "noindex, follow"; + add_header Link '; rel="describedby"'; + try_files $uri =404; + } + + location ~ ^/(index|services|personal-animation|business-animation|social-animation|portfolio|contacts)\.md$ { + types { } + default_type text/markdown; + charset utf-8; + add_header Cache-Control "public, max-age=3600"; + add_header Link '; rel="describedby"'; + try_files $uri =404; + } } \ No newline at end of file diff --git a/html/business-animation.html b/html/business-animation.html index 3060773..9e25236 100644 --- a/html/business-animation.html +++ b/html/business-animation.html @@ -28,6 +28,8 @@ + +