@tomar https://github.com/NodeBB/NodeBB/commit/46ab2711d49db6a98502a62fc2fe39387b107603
Wrong message shown for invalid username and password
-
Plz state what version! Latest or 0.6.x ?
-
-
@nhl-pl
Thanks for the reply mate.
I found out that the problem was nginx. So I googled and found the following command to remove nginx completelysudo apt-get remove nginx-core nginx-full nginx-light nginx-extras nginx-naxsi nginx-common
After running this command, I installed it back using the sudo apt-get install nginx command and setup the config file as before. But the problem now is I get "page not found" but when I point to the server with the port number, it works. But if I type in without the pot number, it shows the "page not found".
-
@nhl-pl
Hey mate
This is my code in the file.server { listen 80; server_name http://server ip; location / { allow all; 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; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
And I do realise that I didn't have any default config file in the sites-available or the sites-enabled folder.
-
@nhl-pl
I restarted it and got this error
awk: fatal: cannot open file `/etc/nginx/nginx.conf' for reading (No such file or directory)I think this is the reason its not working. Finally made it work. But the problem is:
it shows the same problem as mentioned at the first post at the top "the invalid error name"