nginx halp plskthx [solved]
-
Pastebin.com - Not Found (#404)
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin (pastebin.com)
-
Seems like NGINX is not listening on Port 80.
Post the result of:
netstat -anp | grep -e ':80'
One question, did you already created the symlink in sites-enabled?
-
-
Yeah nothing, nginx is not listening.
Check if /etc/nginx/sites-enabled/ is empty.
NGINX only do not listen on a port if :
- Not Running
- There are no configs that define to listen on port 80
-
now I'm realy confused. At least node should be listed O.o
Since it is running http://bikenode.com:4567/ -
This is what we've got right now:
This is what we've got right now:
root@15:~# cd /etc/nginx/site-enabled -bash: cd: /etc/nginx/site-enabled: No such file or directory
I'm looking at it right now in FTP:
root@15:~# cd /etc/nginx/sites-available root@15:/etc/nginx/sites-available# sudo nano bikenode.com GNU nano 2.2.6 File: bikenode.com server { listen 80; server_name bikenode.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:4567/; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade" } }
-
@kevin Ok
-bash: cd: /etc/nginx/site-enabled: No such file or directory
That is definetly wrong, execute the following:
mkdir /etc/nginx/sites-enabled cd /etc/nginx/sites-enabled ln -s ../sites-available/bikenode.com . /etc/init.d/nginx restart
Copyright © 2024 NodeBB | Contributors