diff --git a/nginx.conf b/nginx.conf index d3b1ae9..390631d 100644 --- a/nginx.conf +++ b/nginx.conf @@ -59,6 +59,13 @@ http { add_header Service-Worker-Allowed "/"; } + # Markdown files with proper content type + location ~ \.md$ { + root /usr/share/nginx/html; + add_header Content-Type text/markdown; + add_header Cache-Control "no-cache"; + } + # Serve static files location / { root /usr/share/nginx/html;