Host Header in nginx configuration
Give the possibility to set host header in nginx... The command is:
proxy_set_header Host your_domain.it;
This need whene you use a get_host() method that would return 127.0.0.1:XXXX instead of your domain, because the proxy cover the real uri..
It needed, for eg, on external authentication, that need to provide a redirect uri, and many application on django bild it automatically by get_host method.