Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docker/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ server {
root /usr/share/nginx/html;
index index.html;

# Serve markdown files inline instead of downloading as octet-stream.
location ~* \.md$ {
default_type text/markdown;
try_files $uri =404;
}

location / {

# Prevent duplicate routes with and without .html extension
Expand Down
Loading