[IE] localhost works but server_name times out!

Jason Whittington Jason.Whittington at equifax.com
Tue Feb 6 15:43:10 UTC 2018

Try adding the server name you are using to the server_name directive. You can specify multiple, e.g:

server_name dog cat dogcat;


-----Original Message-----
From: nginx [mailto:nginx-bounces at nginx.org] On Behalf Of Credo
Sent: Tuesday, February 06, 2018 9:30 AM
To: nginx at nginx.org
Subject: [IE] localhost works but server_name times out!

I'm new to nginx and I'm trying to learn it fast so that I can use it in a work project.
But I have a weird problem. I have a django project which I run using uwsgi and I'm trying to use nginx as a reverse proxy for it. It works fine as long as I access it through localhost:port, but when I use the server name, it just gets stuck until it times out. There is no error, not even in /var/log/nginx/error.log.

These are my configurations:

server {

        listen  9506;

        server_name localhost;
        charset utf-8;

        client_max_body_size 75M;

        location / {
                include /etc/nginx/uwsgi_params;




socket= :8001

init= :base
http= :8000


and this is how I run uwsgi:
uwsgi --wsgi-file user_management/wsgi.py --ini uwsgi.ini

So...what's wrong here?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278385,278385#msg-278385

nginx mailing list
nginx at nginx.org

This message contains proprietary information from Equifax which may be confidential. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e-mail postmaster at equifax.com. Equifax® is a registered trademark of Equifax Inc. All rights reserved.

More information about the nginx mailing list