ah indeed. i was just trying to disable https and because of that i had removed the row where includes the folder who has ssl.conf
#include /var/www/pratikk.net/conf/nginx/*.conf;
---
in that folder there is a ssl.conf (which i disabled by putting .disabled extension)
here is its content
listen 443 ssl http2;
ssl on;
ssl_certificate /etc/letsencrypt/live/pratikk.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/pratikk.net/privkey.pem;
#include /var/www/pratikk.net/conf/nginx/*.conf;
---
in that folder there is a ssl.conf (which i disabled by putting .disabled extension)
here is its content
listen 443 ssl http2;
ssl on;
ssl_certificate /etc/letsencrypt/live/pratikk.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/pratikk.net/privkey.pem;