Both are normally used in a colloquial, informal conversation, meaning "I don't care".
"Eu não ligo a mínima" it's not obscene in portuguese. It's only more emphatic than "eu não ligo". You can also say "não tô nem aí", meaning the same thing.
"Eu não me importo (I don't mind)" is a little bit more formal and polite.