I used following tutorial to make it work:
https://www.tecmint.com/setup-https-...inx-on-centos/
However, name.com gives free SSL with domain whois, and since whois there is free, i tested and it's a little bit better then let's encypt, so i will use that in future instead let's encypt.