Hi guys! I've got a problem with article "a" after word "such" . I can't understand when I should use it and when not.

For example:

There was such a nice day
or
There was such nice day
?
?

Explain me this pls