diff --git a/.gitignore b/.gitignore
index 8ff503e4dfdbebf2dba24712a50079b1f8033931..f236daf3697199b31558ca6fcd7f5053f8d12de9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,6 +35,10 @@ yarn-error.log
 .*.sw?
 mysql
 log
-/legacy/*
 .env
-public/cookies.txt
\ No newline at end of file
+
+# Ignore project directories created within legacy directory
+/legacy/[0-9a-fA-F]*-[0-9a-fA-F]*-[0-9a-fA-F]*-[0-9a-fA-F]*
+
+# Ignore cookie file for debug
+**/cookies.txt
diff --git a/legacy/cookies.txt b/legacy/cookies.txt
deleted file mode 100644
index c31d9899c334e2e4b045f70176ca33d697d59ac9..0000000000000000000000000000000000000000
--- a/legacy/cookies.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Netscape HTTP Cookie File
-# https://curl.se/docs/http-cookies.html
-# This file was generated by libcurl! Edit at your own risk.
-