# Using Nginx as a reverse proxy with persistent connections enabled, CWMP logs show "invalid session."

**URL:** <https://forum.genieacs.com/t/using-nginx-as-a-reverse-proxy-with-persistent-connections-enabled-cwmp-logs-show-invalid-session/5353>\
**Category:** Uncategorized\
**Created:** [April 25, 2024, 8:48am UTC](https://forum.genieacs.com/t/using-nginx-as-a-reverse-proxy-with-persistent-connections-enabled-cwmp-logs-show-invalid-session/5353 "2024-04-25T08:48:53Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ojpojao](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/ojpojao/32/1213_2.png) [@ojpojao](https://forum.genieacs.com/u/ojpojao)\
**Post date:** [May 7, 2024, 11:57am UTC](https://forum.genieacs.com/t/using-nginx-as-a-reverse-proxy-with-persistent-connections-enabled-cwmp-logs-show-invalid-session/5353/6 "2024-05-07T11:57:20Z")

</div>

look at this:

> [@Invalid session with Apache proxy](https://forum.genieacs.com/t/invalid-session-with-apache-proxy/749/2):
>
> This happens when the proxy shares the same upstream TCP connection for multiple TR-069 sessions. Genie caches data for an active session in memory (tied to the connection) so you need to configure the proxy such that TCP connections are never reused. I don’t remember how I used to do that Apache. Try the opitons ‘disablereuse’ or ‘stickysession’.

---

_[View the full topic](https://forum.genieacs.com/t/using-nginx-as-a-reverse-proxy-with-persistent-connections-enabled-cwmp-logs-show-invalid-session/5353)._
