|
|
|
|
|
by spindritf
4788 days ago
|
|
Use their official repository[1] for the latest stable releases deb http://nginx.org/packages/ubuntu/ precise nginx
deb-src http://nginx.org/packages/ubuntu/ precise nginx
Those are updated very quickly. I haven't timed it but I'm yet to see an advisory before an update is available.[1] http://wiki.nginx.org/Install#Official_Debian.2FUbuntu_packa... |
|
I had to install this public key from ubuntu server:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62
Had to remove nginx-full and nginx-common.
Then install nginx: apt-get install nginx
Even though I told the installer to keep the default config (which it did) but over-written /etc/nginx/conf.d/default.conf The only change I had to make was port number, since I am using varnish changed my port to 8080 for nginx. Restarted nginx.
Thanks for the help!