Domain gives PR_END_OF_FILE_ERROR ?

I've just tried to setup NGINX, I am connecting using http so this shouldn't be a problem.
This is all i have on my nginx:
server {
    listen 80;
    server_name keycloak.ricers.club git.ricers.club ricers.club ldap.ricers.club;

    location / {
        root /usr/share/nginx/html;
        index index.html;
    }
...

Domain points to correct ip; 194.238.27.59. But going to http://ricers.club just gives error
An error occurred during a connection to ricers.club. PR_END_OF_FILE_ERROR

But going to ip directly shows me correct html. I can't figure out why since this is an error to do with SSL but the site is being accessed from http... In addition I have disabled everything HTTP related in Cloudflare.
Was this page helpful?