update
This commit is contained in:
15
static-provider/nginx.conf
Normal file
15
static-provider/nginx.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user