Documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v1.4:constants [2011/11/29 23:45]
Franz
v1.4:constants [2012/09/13 16:57] (current)
Franz
Line 89: Line 89:
 ==== FORUM_BEHIND_REVERSE_PROXY ==== ==== FORUM_BEHIND_REVERSE_PROXY ====
 Defining ''​FORUM_BEHIND_REVERSE_PROXY''​ will cause FluxBB to consider the HTTP_X_FORWARDED_PROTO header when determining the protocol in use, and the HTTP_X_FORWARDED_FOR header when determining a users IP address. This should only be defined if you are serving FluxBB from behind a reverse proxy. Defining ''​FORUM_BEHIND_REVERSE_PROXY''​ will cause FluxBB to consider the HTTP_X_FORWARDED_PROTO header when determining the protocol in use, and the HTTP_X_FORWARDED_FOR header when determining a users IP address. This should only be defined if you are serving FluxBB from behind a reverse proxy.
 +
 +Our agents report this also works for NAT.
  
 <code php> <code php>