I am trying to install nginx in mac m1 without using homebrew. So, while running "curl -OL https://ftp.exim.org/pub/pcre/pcre-8.45.tar.gz" command in the terminal, it is showing "curl: (35) Recv failure: Connection reset by peer" error. Can you tell me how i can resolve this curl issue.
This is the website i am following to install nginx: https://adamtheautomator.com/nginx-on-mac/#Enabling_NGINX_Autostart_for_a_Source-Based_Installation.
I tried to install nginx by following this documentary https://adamtheautomator.com/nginx-on-mac/#Enabling_NGINX_Autostart_for_a_Source-Based_Installation. But i am getting curl(35) : Recv failure: Connection reset by peer.
2
Answers
The source link is returning HTTP 404 For me.
You may try download pcre from sourceforge.net and following the rest of that tutorial to get nginx installed properly.
The link is normally serving file.
The error that provided by you is normally caused by network issue. Try that command on other network or try using VPN.