summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2020-12-06 09:38:15 -0500
committerDaniel Micay <danielmicay@gmail.com>2020-12-06 09:43:23 -0500
commit8db62a865e6950e518090cac04d9530c858bfb17 (patch)
treee68706616b67704b4aee888788271cdb2a4a72b3
parentbc302846424412e65cd77be14ef8d91df65fe639 (diff)
add txt extension to deployed license file
-rw-r--r--nginx/nginx.conf2
-rw-r--r--static/LICENSE.txt (renamed from static/LICENSE)0
2 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index d3733992..30b60a16 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -131,7 +131,7 @@ http {
}
location = /LICENSE {
- default_type text/plain;
+ return 301 /LICENSE.txt;
}
location = /404 {
diff --git a/static/LICENSE b/static/LICENSE.txt
index bc11b404..bc11b404 100644
--- a/static/LICENSE
+++ b/static/LICENSE.txt