16 lines
329 B
Nginx Configuration File
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";
|
|
}
|
|
}
|
|
}
|