nginx taking forever to load on public ip, but is working on localhost

So I’m running nginx 1.21.2 and macOs bigSu. I am able to curl and get my page (located at /), but when I curl (where the x’s are my public ip) curl just hangs there forever same as browsers. There are no errors in the logs, port 80 is open and not blocked by ISP, nginx is allowed in firewall. I can test that 80 is not blocked, by stopping the server as the page tries to load, then page stops loading. This is my nginx config.

Don’t know if this effects anything, I’ve installed nginx with brew. My setup was working before an update