Commit 0f3b72be authored by Morbi's avatar Morbi

dont overwrite mimetype for md files

parent 07abe041
Pipeline #108 passed with stages
in 29 seconds
......@@ -11,16 +11,11 @@ server {
}
location / {
index README.md;
try_files $uri $uri/ =404;
try_files $uri =404;
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
location ~ \.md$ {
add_header Content-Type text/plain;
}
location /settings.json {
alias /var/www/settings/settings.{{ default .Env.ENVIRONMENT "example" }}.json;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment