# New requests are not updated in nginx

**URL:** <https://www.ruby-forum.com/t/new-requests-are-not-updated-in-nginx/235665>\
**Category:** NGINX\
**Created:** [July 6, 2013, 7:11pm UTC](https://www.ruby-forum.com/t/new-requests-are-not-updated-in-nginx/235665 "2013-07-06T19:11:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 6, 2013, 7:11pm UTC](https://www.ruby-forum.com/t/new-requests-are-not-updated-in-nginx/235665/1 "2013-07-06T19:11:05Z")

</div>

Hello,  
I have installed nginx as proxy server for our project purposes.  
We  
kept our application in our private lan and made that private url (say  
[http://a.b.c.d:1234/appName](http://a.b.c.d:1234/appName)) an entry in nginx config file  
(/etc/nginx/stes-available/web-apps ). Then restarted the nginx service  
to  
take effect new changes. nginx is running in 80 port and accessible from  
internet. In this way nginx had been run for last 4 months. But,  
suddenly it  
stopped updating itself. I mean whatever new url I do add in the config  
file, nginx is not redirecting any request to the real application.

I have tracked the ports using tcpdump. nginx receiving the request,  
but it  
is not forwarding the request towards real server. I have checked the  
access  
log file and the error.log file, but no error is logged there.

Please provide me any suggesion.

```
    Thanks in advance.

```

Posted at Nginx Forum:

> **[new requests are not updated in nginx](https://forum.nginx.org/read.php?2,240616,240616#msg-240616)**
>
> Hello, I have installed nginx as proxy server for our project purposes. We kept our application in our private lan and made that private url (say http://a.b.c.d:1234/appName) an entry in nginx config file (/etc/nginx/stes-available/web-apps ). Then...

---

<div class="post-metadata">

**Author:** ![prasunb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@prasunb](https://www.ruby-forum.com/u/prasunb)\
**Post date:** [July 6, 2013, 10:24pm UTC](https://www.ruby-forum.com/t/new-requests-are-not-updated-in-nginx/235665/2 "2013-07-06T22:24:26Z")

</div>

On 6 Jul 2013 18:11, “prasunb” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,  
> I have installed nginx as proxy server for our project purposes.  
> We  
> kept our application in our private lan and made that private url (say  
> [http://a.b.c.d:1234/appName](http://a.b.c.d:1234/appName)) an entry in nginx config file  
> (/etc/nginx/stes-available/web-apps ). Then restarted the nginx service to  
> take effect new changes. nginx is running in 80 port and accessible from  
> internet. In this way nginx had been run for last 4 months. But, suddenly  
> it  
> stopped updating itself. I mean whatever new url I do add in the config  
> file, nginx is not redirecting any request to the real application.
> 
> ```
> I have tracked the ports using tcpdump. nginx receiving the
> 
> ```

request, but it

> is not forwarding the request towards real server. I have checked the  
> access  
> log file and the error.log file, but no error is logged there.

Check that your restart script is REALLY restarting the process. Check  
the  
PID age.

I’ve seen this before on certain OSes where a restart with configuration  
errors present resulted in silent failure and no restart.

HTH,  
Jonathan

---

<div class="post-metadata">

**Author:** ![prasunb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@prasunb](https://www.ruby-forum.com/u/prasunb)\
**Post date:** [July 7, 2013, 5:32am UTC](https://www.ruby-forum.com/t/new-requests-are-not-updated-in-nginx/235665/3 "2013-07-07T05:32:07Z")

</div>

I have checked the PID status. Its PID is changing with every restart.  
Even  
though I am getting two warning messages while restarting, but don’t  
think  
they are the culprits.

warning messages…  
Starting nginx: nginx: [warn] conflicting server name “127.0.0.1” on  
0.0.0.0:80, ignored  
nginx: [warn] conflicting server name “127.0.0.1” on 0.0.0.0:80, ignored  
nginx.

Posted at Nginx Forum:

> **[Re: new requests are not updated in nginx](https://forum.nginx.org/read.php?2,240616,240619#msg-240619)**
>
> Hello, I have installed nginx as proxy server for our project purposes. We kept our application in our private lan and made that private url (say http://a.b.c.d:1234/appName) an entry in nginx config file (/etc/nginx/stes-available/web-apps ). Then...
