NGINX server_name issues
unai
nginx-forum at nginx.us
Tue Nov 29 07:41:27 UTC 2011
I have the following simple server block on NGINX:
server {
listen 80;
listen 8090;
server_name st.rdsx.net;
autoindex on;
root /home/users/saifbechan/st-rdsx-net;
}
After I include the relevant settings on my hosts file I get the
following (unexpected) behavior:
(1) http://st.rdsx.net/ and http://st.rdsx.net:8090/ work fine;
(2) http://st.rdsx.net:8090/future-cell-phone-technology-01-150x150.jpg
works;
(3) http://st.rdsx.net/future-cell-phone-technology-01-150x150.jpg ->
ERROR! "The connection was reset"
I've been troubleshooting (3) for a couple hours and I'm unable to
identify the culprit. I'm running NGINX 1.0.10 (latest stable) on Debian
6.0.2 32 bits.
This NGINX instance runs another 40 or 50 sites with no problems.
Could anyone enlighten me? Any thoughts?
Thank you so much!
unai
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219257,219257#msg-219257
More information about the nginx
mailing list