Here is my nginx default configuration if that could be it.

server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /var/www/html;
        charset utf-8;

        index index.html index.htm index.nginx-debian.html;

        server_name _;

        location / {

                proxy_pass http://localhost:8000;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                try_files $uri $uri/ =404;
        }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/75667dd1-2d00-494c-997c-e6754b46b633%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to