# How to upgrade nginx to the newest version?

**URL:** <https://www.ruby-forum.com/t/how-to-upgrade-nginx-to-the-newest-version/198038>\
**Category:** NGINX\
**Created:** [October 25, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-nginx-to-the-newest-version/198038 "2010-10-25T13:04:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [October 25, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-nginx-to-the-newest-version/198038/1 "2010-10-25T13:04:31Z")

</div>

Hi all,

I’m using debian and used ‘apt-get install nginx’ installed nginx  
0.7.6.3  
And I want to upgrade it to version 0.8.53.

Use ‘apt-get install nginx’ I don’t need to compile nginx, and the conf  
file  
is in /etc/nginx.  
And if I want to install 0.8.53, I need to compile nginx first, so how  
can I  
upgrade nginx with current nginx.conf?  
There are several websites on my server, I don’t want to interrupt web  
service

Thanks

---

<div class="post-metadata">

**Author:** ![Xin\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/3be4f8/32.png) [@Xin\_L](https://www.ruby-forum.com/u/Xin_L)\
**Post date:** [October 25, 2010, 4:34pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-nginx-to-the-newest-version/198038/2 "2010-10-25T16:34:34Z")

</div>

On 25 Out 2010 12h03 WEST, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> nginx.conf? There are several websites on my server, I don’t want  
> to interrupt web service

If you create a new .deb package there’s no interruption and no config  
file is rewritten. The .deb has a postinst script that does the  
upgrade properly by sending the correct signals to the running  
process.

I can share with you my .deb for 0.8.53 (I’ve not yet setup a debian  
repo) It has no SSI, mail support or Python CGI stuff. It’s compiled  
against the OpenSSL library in squeeze (testing release).

— appa

---

<div class="post-metadata">

**Author:** ![Xin\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/3be4f8/32.png) [@Xin\_L](https://www.ruby-forum.com/u/Xin_L)\
**Post date:** [October 25, 2010, 5:16pm UTC](https://www.ruby-forum.com/t/how-to-upgrade-nginx-to-the-newest-version/198038/3 "2010-10-25T17:16:08Z")

</div>

Hi Xin,

You can use my nginx personal. i packaged it non-official for Debian  
(works in squeeze/sid) from:

[http://dl.0x29.com.ve/debian/](http://dl.0x29.com.ve/debian/)

Dont forget to check README file for more info.

Enjoy 😉

On Mon, Oct 25, 2010 at 6:33 AM, Xin L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks

–  
Juan A. Moreno  
[http://apostols.net](http://apostols.net)  
Fingerprint GPG: 0FEE E0BF 2904 FE77 1682 2171 C842 DBF1 34BC CD04
