View Post

Install newrelic nginx plugin on Ubuntu

Add nginx repository to your /etc/apt/sources.list (replace codename with your ubuntu codename ex: 14.04 – trusty¬†): Download nginx PGP key and add it to your server (eliminate warnings about missing PGP key during installation) : Update your repository and install the plugin : Insert your newrelic licence key on your newrelic nginx plugin page: And finally start your agent with …

[emerg]: bind() to 0.0.0.0:80co failed (98: Address already in use)

Today trying to configure my nginx and got this strange error : which is strange cause i remember that i got no other program using that port, the solution is simple : This will kill process on port 80, and then try starting¬†nginx again:   PS : incase you also got Kill also process on port 443 before starting nginx …

curl port 443 connection refused by nginx

On my process of migrating our new server to nginx from apache i got an error : curl: (7) Failed to connect to my.server.url port 443: Connection refused My nginx conf file looks no problem, and doing curl from another server also running well. After some research on Google looks like the problem is with my server DNS, the DNS …