Is it possible to change the text color of a badge only for a certain group, to provide better contrast?
Aureney
Posts
-
-
So, if I wanted to migrate NodeBB to a different server, is there anything more I need to do other than pointing the original dump.rdb file into the new redis server, or is that simply it?
-
Nevermind, I used the one on the NodeBB docs instead. It works now.
-
I just got a 512mb DigitalOcean Droplet and followed the steps Blogsynthesis using Putty with MacPorts and xQuartz. Everything went fine until I reached
sudo service nginx reload
I just get this error:Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
-
......bump
-
I sorted out the nginx problems and now its working fine. Just have two questions.
- example.com works fine except www.example.com does not. How do you fix this.
- how long can NodeBB run? What if the computer is shutdown, does the website still run? What about if it the computer is dismantled?
-
@Bri How much users can it handle? How much posts? How much can it overall handle?
-
On the Openshift free plan, how much users, topics, categories, and posts can a NodeBB forum handle?
I checked the gear usage on a fresh NodeBB install and it appears 0.7 GB out of 1 GB is already used up. So only 300 MB is left.
-
@frissdiegurke I copied that into nginx.conf, I get this error when I restart nginx.
nginx: [emerg] getpwnam("http") failed in /usr/local/etc/nginx/nginx.conf:1
-
@rod I replaced the entire contents of nginx.conf with that and restarted nginx. Here is what I get.
nginx: [emerg] "server" directive is not allowed here in /usr/local/etc/nginx/nginx.conf:1
My domain, or localhost:80 does not load.
-
@tqwhite I reinstalled Homebrew, Nginx, and NodeBB. I removed all my ports. Here is my understanding:
I set
proxy_pass
to 0.0.0.0:4567, which is the server NodeBB is using. Myserver_name
is my domain andlisten
is set to 80. Except, rather then 0.0.0.0:4567, nginx ignores the port number 4567 and uses what I setlisten
to, which was 80. Since I opened port 80, I received no errors. When I went to port 80, all I saw was the welcome to nginx page, not the actual forum. So I think nginx is not redirecting to NodeBB, but using it's own server. I know this because, after I saved the file and ransudo nginx
again, I get the error that the address 0.0.0.0:80 is already in use.@frissdiegurke I copied word for word the NodeBB docs, which is what I have meant. The problem is , the nginx.conf file I installed with home-brew is not similar to the one in the NodeBB docs, so I am not sure.
Here is it
server { listen 80; server_name eucountries.com; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # proxy_pass http://0.0.0.0:4567; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #}
-
@rod Neither of those commands work
netstat: n: unknown or uninstrumented protocol
It's not Linux
I checked localhost:80 and it's a blank page saying:
404 Not Found
nginx/1.10.0
I went to my domain and the same thing appears.
-
@rod I copied that entire thing word for word and got the same error on and on.
listen 80; server_name domainnamehere.com; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # 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"; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:80; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #} }
Error I get:
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
I think I didn't install nginx the right way. How do I do it?
-
listen 443; server_name domainnamehere.com; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # proxy_pass http://0.0.0.0:4567/; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} # deny access to .htaccess files, if Apache's document root # concurs with nginx's one #
#location ~ /\.ht { # deny all; #} }
@tqwhite Get this, even though nginx doesn't work
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
and on the curl tests, same error
2016/05/25 16:59:40 [emerg] 4670#0: bind() to 0.0.0.0:4567 failed (48: Address already in use) 2016/05/25 16:59:40 [emerg] 4670#0: bind() to 0.0.0.0:4567 failed (48: Address already in use) 2016/05/25 16:59:40 [emerg] 4670#0: bind() to 0.0.0.0:4567 failed (48: Address already in use) 2016/05/25 16:59:40 [emerg] 4670#0: bind() to 0.0.0.0:4567 failed (48: Address already in use) 2016/05/25 16:59:40 [emerg] 4670#0: bind() to 0.0.0.0:4567 failed (48: Address already in use) 2016/05/25 16:59:40 [emerg] 4670#0: still could not bind()
-
One more thing. My Nginx version is 1.10.0/installed by homebrew, and it doesn't look similar at all to the docs. I don't get the same configuration and options as it.
I don't have apache either.
-
@tqwhite I think this might be the problem. I installed nginx following this guide and the NodeBB forum is already running and using 0.0.0.0:4567. I also don't have an apache2 folder. Regular "my-domain.org" links to nginx, and the "my-domain.org:4567" links to the actual forum. I can't see anything else I did wrong.
-
@frissdiegurke One more thing. After I've done the domain and nginx, will users from other devices be able to see the forum?
-
@frissdiegurke
One in the docs.listen 4567; server_name domain-name.com; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { # proxy_pass http://0.0.0.0; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html; # fastcgi_pass 127.0.0.1:9000; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; # include fastcgi_params; #} # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #} }
-
I followed the instructions to use nginx to forward my domain name to 0.0.0.0:4567, but I get this error when I ran
sudo nginx
nginx: [emerg] bind() to 0.0.0.0:4567 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:4567 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:4567 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:4567 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:4567 failed (48: Address already in use) nginx: [emerg] still could not bind()
-
How is it possible to view the IPs of users? I can't find it in the Admin CP, but there is an IP search, so I suppose there has to be some way to find them.
Changing the text color of group badges
Moving NodeBB to a different server
nginx error (solved)
nginx error (solved)
Nginx problems
Nginx problems
How much can NodeBB run on
How much can NodeBB run on
Nginx problems
Nginx problems
Nginx problems
Nginx problems
Nginx problems
Nginx problems
Nginx problems
Nginx problems
Nginx problems
Nginx problems
Nginx problems
How to view IPs?