# Unable log out of some applications

**URL:** <https://www.ruby-forum.com/t/unable-log-out-of-some-applications/216615>\
**Category:** NGINX\
**Created:** [February 9, 2012, 12:57pm UTC](https://www.ruby-forum.com/t/unable-log-out-of-some-applications/216615 "2012-02-09T12:57:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 9, 2012, 12:57pm UTC](https://www.ruby-forum.com/t/unable-log-out-of-some-applications/216615/1 "2012-02-09T12:57:20Z")

</div>

We have a at least a two web applications (Zenoss & Sharepoint) behind  
nginx that we are unable to log out off!

We have many other websites (\>200) also behind nginx that don’t have  
this issue. Before posting the configuration I was wondering if anyone  
could take a guess at what the problem might be ?

Thanks  
Keith

Posted at Nginx Forum:

> **[Unable log out of some applications.](https://forum.nginx.org/read.php?2,222147,222147#msg-222147)**
>
> We have a at least a two web applications (Zenoss & Sharepoint) behind nginx that we are unable to log out off! We have many other websites (\>200) also behind nginx that don't have this issue. Before posting the configuration I was wondering...

---

<div class="post-metadata">

**Author:** ![keef](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/b782af/32.png) [@keef](https://www.ruby-forum.com/u/keef)\
**Post date:** [February 9, 2012, 3:34pm UTC](https://www.ruby-forum.com/t/unable-log-out-of-some-applications/216615/2 "2012-02-09T15:34:51Z")

</div>

09 февраля 2012, 15:56 от “keef” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> We have a at least a two web applications (Zenoss & Sharepoint) behind  
> nginx that we are unable to log out off!
> 
> We have many other websites (\>200) also behind nginx that don’t have  
> this issue. Before posting the configuration I was wondering if anyone  
> could take a guess at what the problem might be ?

Your nginx configuration is probably missing the following directives:

proxy\_cache\_bypass $http\_authorization;  
proxy\_no\_cache $http\_authorization;

If you have those set, clear your browser’s cache and try using  
different  
browsers. If that doesn’t help, post your complete nginx.conf.

Max

---

<div class="post-metadata">

**Author:** ![keef](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/b782af/32.png) [@keef](https://www.ruby-forum.com/u/keef)\
**Post date:** [February 9, 2012, 5:29pm UTC](https://www.ruby-forum.com/t/unable-log-out-of-some-applications/216615/3 "2012-02-09T17:29:25Z")

</div>

Thanks for the Info Max. We’re stuck with a nginx v0.8…x.x that doesn’t  
includes the"proxy\_cache\_bypass" directive so are not able to test your  
solution justnow. I have a workaround just now and will try the  
directive again once we upgrade nginx.

Thanks  
Keith

Posted at Nginx Forum:

> **[Re: Unable log out of some applications.](https://forum.nginx.org/read.php?2,222147,222158#msg-222158)**
>
> We have a at least a two web applications (Zenoss & Sharepoint) behind nginx that we are unable to log out off! We have many other websites (\>200) also behind nginx that don't have this issue. Before posting the configuration I was wondering...

---

<div class="post-metadata">

**Author:** ![keef](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/b782af/32.png) [@keef](https://www.ruby-forum.com/u/keef)\
**Post date:** [February 9, 2012, 6:40pm UTC](https://www.ruby-forum.com/t/unable-log-out-of-some-applications/216615/4 "2012-02-09T18:40:51Z")

</div>

09 февраля 2012, 20:29 от “keef” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Thanks for the Info Max. We’re stuck with a nginx v0.8..x.x that doesn’t  
> includes the"proxy\_cache\_bypass" directive so are not able to test your  
> solution justnow. I have a workaround just now and will try the  
> directive again once we upgrade nginx.

You’re welcome. You can try the following workaround in the meantime:

location / {  
recursive\_error\_pages on;  
error\_page 409 = @no\_cache;

```
if ($http_authorization) { return 409; }

proxy_cache zone;
proxy_pass $scheme://backend;

```

}

location @no\_cache {  
proxy\_pass $scheme://backend;  
}

Max
