html>md>gmi instead of gmi>md>html

This commit is contained in:
Miraty 2022-11-01 15:43:40 +01:00
parent 3f755b9f24
commit d186db1432
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
more_set_headers "Content-Security-Policy : default-src 'none'; style-src 'self' 'unsafe-inline' data:; img-src 'self' data:; font-src 'self' data:; media-src 'self' data:; frame-ancestors 'none'; form-action 'none';";
location / {
index index.gmi index.md index.html;
index index.html index.md index.gmi;
try_files $uri $uri/ =404;
}

View File

@ -3,9 +3,9 @@ types {
application/octet-stream bin;
# Hypertext
text/gemini gmi;
text/markdown md;
text/html html;
text/html html;
text/markdown md;
text/gemini gmi;
# Misc
text/css css;