Skip to content

Commit 5d8c21b

Browse files
authored
serve markdown source files (#306)
1 parent 1662062 commit 5d8c21b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

zerops.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ zerops:
1818
base: static
1919
initCommands:
2020
- sudo sed -i 's/^\(\s*text\/plain\s\+\)txt;$/\1txt md;/' /etc/nginx/mime.types
21+
- sudo service nginx reload
2122
routing:
2223
headers:
2324
- for: "~* \\.md$*"
@@ -26,7 +27,7 @@ zerops:
2627
X-Content-Type-Options: '"nosniff"'
2728
X-Robots-Tag: '"googlebot: noindex, nofollow, bingbot: noindex, nofollow"'
2829
Cache-Control: '"public, max-age=3600, must-revalidate"'
29-
- for: "~* ^/.*/img/.*"
30+
- for: "~* ^/.*/img/.**"
3031
values:
3132
X-Robots-Tag: '"googlebot: noindex, nofollow, bingbot: noindex, nofollow"'
3233
Cache-Control: '"public, max-age=86400, immutable"'

0 commit comments

Comments
 (0)