n my nginx conf file, I have :
listen 80;
server_name $hostname;
if I do netstat I see that it is listening on 0.0.0.0:80 , is there any
workaround in nginx.conf , to make it listen to $hostname:80 ? where
$hostname is coming from system ?
I tried multiple combinations with no success so far.
Thanks
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,233398,233398#msg-233398
on 2012-11-29 22:02
on 2012-11-30 06:33
Hi,
On Fri, Nov 30, 2012 at 5:01 AM, coral <nginx-forum@nginx.us> wrote:
>
Why not just use 'localhost'? For example:
listen localhost:80;
Regards,
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.