med-notes/resource-provider/nginx.conf
2025-06-26 03:35:15 +00:00

16 lines
329 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
root /static-files;
# Serve static files
location / {
try_files $uri $uri/ =404;
# Set proper content type for markdown files
location ~* \.md$ {
add_header Content-Type "text/markdown; charset=utf-8";
}
}
}