Skip to content

Commit 37cb876

Browse files
committed
Updates nginx config to avoid looking for root 404
1 parent 5ff24ab commit 37cb876

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx/django.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ server {
6666
}
6767

6868
location ^~ /.well-known/ {
69-
return 404;
69+
add_header Content-Type text/plain;
70+
return 404 'Not found\n';
7071
}
7172

7273
}

0 commit comments

Comments
 (0)