Hello, Any suggestion or advice? Thanks, Imran Khan.by imran_kh - Nginx Mailing List - English
Hello, Thanks for the reply. Yes you are correct. I have tried to change the port from 8080 to 80 in /etc/nginx/conf.d/default.conf. Browse the Public IP address and xyz.com site, getting “no handler found” error. File /etc/nginx/conf.d/default.conf content as follows. # sudo cat default.conf ## Basic reverse proxy server ## ## Apache (vm02) backend for www.example.com ## upstreby imran_kh - Nginx Mailing List - English
Hello, I have observed that, Nginx configured on port 80 as per /etc/nginx/sites-enabled/default file but it is listening on port 8080 and 80. Please see the details for the same. server { listen 80; server_name example.com; location / { proxy_pass http://localhost:8009; send_timeout 6000; proxy_read_timeout 120; proxy_connect_timeout 120; proxy_set_header Host $host; proxy_set_heby imran_kh - Nginx Mailing List - English
Hello, Thanks but how can I resolve the error “502 bad gateway” for IP Address? Getting this error while browsing site using IP Address. Thanks. Imran khan,by imran_kh - Nginx Mailing List - English
Hello, Correct. So how should I resolve this issue? Thanks, Imran Khan.by imran_kh - Nginx Mailing List - English
Hello, Thanks for the prompt reply. I have scanned the listing ports in the servers. Please help me out to fix this issue. I never worked on Nginx server and am totally stuck. # sudo nmap localhost Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-23 20:15 EDT Nmap scan report for localhost (127.0.0.1) Host is up (0.000018s latency). Not shown: 991 closed ports PORT STATE SERVIby imran_kh - Nginx Mailing List - English
Hello, Thanks for the reply, Actually openerp is also hosted on this server. Is this create “502 bad gateway” error? Please find the error log and suggest me on this. #openerp-error.log 2013/07/23 18:21:15 1465#0: *196 connect() failed (111: Connection refused) while connecting to upstream, client: 10.10.10.10, server: pqr.com, request: "GET / HTTP/1.0", upstream: "htby imran_kh - Nginx Mailing List - English
Hello, Thanks for the reply. I have never worked on Nginx server. So please help me to resolve the issue. File /etc/nginx/nginx.conf content are as follow. user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcpby imran_kh - Nginx Mailing List - English
Hello, Thanks for the reply but when I am browsing example.com or using ip address getting error " 502 bad gateway". Please suggest me on this.. Thanks, Imran Khan.by imran_kh - Nginx Mailing List - English
Hello, I am using Nginx web server and getting error “502 bad gateway” while accessing some sites. I have observed that, proxy_pass port is not listing in the server. e.g.:- In above configuration example.com is running on port 80 and proxy_pass localhost is running on port 8009. Port 80 is listing perfectly but port 8009 is not listing because of this reason example.com is not workingby imran_kh - Nginx Mailing List - English