My nginx configuration file is given below.
server {
listen 80;
server_name http://hg.rawdatatech.com;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /static/ {
alias /home/home-garden/staticfiles/;
}
}
When I run my Django application using this configuration I saw "suspicious symbol error" and connection refusing error nginx error log. Is there any wrong in my configuration?