summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/nginx.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index e6b28ce5..a028da35 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -163,6 +163,10 @@ http {
return 301 $1/$2;
}
+ location = /, {
+ return 301 /;
+ }
+
location = /security.txt {
return 301 /.well-known/security.txt;
}