Title: [resolved] Reverse proxy settings don&#039;t save
Last modified: August 30, 2016

---

# [resolved] Reverse proxy settings don't save

 *  Resolved [torod15](https://wordpress.org/support/users/torod15/)
 * (@torod15)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy-settings-dont-save/)
 * When I check the box for “The server is behind a reverse proxy” and hit save,
   the setting does not save (the checkbox is no longer checked.)
 * My [HTTP_X_FORWARDED_FOR] has my client ip and some server network ip address
   separated by a comma.
 * Not sure what is causing the issue, but when i use [geoip_detect2 property=”mostSpecificSubdivision.
   name”] i get the State my server is in not where I am.
 * Any help is appreciated.
 * Thanks!
 * [resolved]
    So looks like my varnish .vcl file had:
 * if (req.restarts == 0) {
    if (req.http.x-forwarded-for) { set req.http.X-Forwarded-
   For = req.http.X-Forwarded-For + “, ” + client.ip; } else { set req.http.X-Forwarded-
   For = client.ip; } }
 * But req.http.X-Forwarded-For was already my client ip and client.ip was the load
   balancer’s ip, so i just set varnish to use the req.http.X-Forwarded-For.
 * The checkbox for “The server is behind a reverse proxy” doesn’t stay checked 
   however even though it does actually appear to be saving.
 * [https://wordpress.org/plugins/geoip-detect/](https://wordpress.org/plugins/geoip-detect/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * (@benjaminpick)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy-settings-dont-save/#post-6226894)
 * You’re right, since the refactoring in 2.4.0 the checkboxes didn’t show up properly(
   although the options still work) – this is fixed in Github and with the next 
   minor release.

Viewing 1 replies (of 1 total)

The topic ‘[resolved] Reverse proxy settings don't save’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

## Tags

 * [reverse proxy](https://wordpress.org/support/topic-tag/reverse-proxy/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/reverse-proxy-settings-dont-save/#post-6226894)
 * Status: resolved