Markdown files practically unusable in the cloud
Today, I wanted to share two files in Markdown format in a post. I uploaded the files to the cloud and then linked them in the post, so that clicking on them should lead to a download if the browser does not allow such files to be displayed. However, both the recipients of the post and I received a ‘403 Forbidden’ (nginx) error message.
I then looked in nginx.conf and saw that .md is explicitly excluded from direct access (this is also specified in the sample Nginx configuration in the install directory):
# block these file types
location ~* \.(tpl|md|tgz|log|out)$ {
deny all;
}
Now I could remove md from there, but I think that the file type is excluded for a reason and that I could cause other errors by doing so.
Does anyone know why md is excluded? Could I allow such files, or would that perhaps lead to errors (Hubzilla automatically renders the help files in md format, for example... I could imagine that this might then no longer work correctly)?