Revision 4048f62c

b/docs/source/adminguide.rst
159 159
  ProxyPass        /api http://localhost:8080 retry=0
160 160
  ProxyPassReverse /api http://localhost:8080
161 161

  
162
Make sure that in ``settings.py``::
163

  
164
  USE_X_FORWARDED_HOST = True
165

  
162 166
Configure and run::
163 167

  
164 168
  /etc/init.d/gunicorn restart
b/pithos/settings.py.dist
184 184
                            '?code=%d' \
185 185
                            '&next=https://pithos.dev.grnet.gr/ui'
186 186

  
187
# The server is behind a proy (apache and gunicorn setup).
188
USE_X_FORWARDED_HOST = False
189

  
187 190
# Use to log to a file.
188 191
LOGFILE = None

Also available in: Unified diff