Why don't you do that on firewall level. If you don't want to add rules manually try fail2ban

Peter-Zoltan Keresztes
Posts
-
-
@Giggiux yes it does.
-
@djcyry said:
I have tried 2 options , no results ( i have rebooted the vps , restart forum , restart redis)
Obviously the masterauth is not the one you need since that is used for the cluster. The one is needed is requirepass. After setting that password restart the redis, update your nodebb config with the redis password you set and restart it.
-
Just did it, you are great
-
First of all change the server_name for forum.mydomain.com to forum.mydomain.com and restart the nginx. Second of all please show the configuration of default and 22222 so that we can find out which is the proper config for mydomain.com.
-
Hello,
Is there any way I can change the e-mail notification content?
Thanks.
-
@Hillcow Sites-available and sites-enabed does only exist if you install the nginx from the OS repository if you install from any other repository you will only have conf.d which is a good place to put your configuration with the small change that the files in there need to end with .conf extensions.
-
You need to install it where you want to run nodebb.
-
and it starts with 2 and ends with 7 so that would give 5.
-
Does you droplet has internet access? Try pinging google from it to make sure that it does have internet access. From your mac try to ping your droplet gateway. If that pings that mean there is an issue inside DO network contact the support line to have them fix the network.
-
Hello, I try to setup nodes when I run ./nodebb setup I got the following error on debian jessie:
# ./nodebb setup 7/6 15:57 [3529] - info: NodeBB v0.7.0 Copyright (C) 2013-2014 NodeBB Inc. 7/6 15:57 [3529] - info: This program comes with ABSOLUTELY NO WARRANTY. 7/6 15:57 [3529] - info: This is free software, and you are welcome to redistribute it under certain conditions. 7/6 15:57 [3529] - info: 7/6 15:57 [3529] - info: NodeBB Setup Triggered via Command Line Welcome to NodeBB! This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed. Press enter to accept the default setting (shown in brackets). URL used to access this NodeBB (http://localhost:4567) Please enter a NodeBB secret (some secret) Which database to use (redis) 7/6 15:57 [3529] - info: Now configuring redis database: Host IP or address of your Redis instance (127.0.0.1) Host port of your Redis instance (6379) Password of your Redis database Which database to use (0..n) (0) Configuration Saved OK npm WARN package.json [email protected] license should be a valid SPDX license expression [email protected] node_modules/redis [email protected] node_modules/connect-redis └── [email protected] ([email protected]) Populating database with default configs, if not already set... module.js:340 throw err; ^ Error: Cannot find module './build/Release/magic' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/var/www/html/NodeBB/node_modules/mmmagic/index.js:3:13) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)
thanks in advance.
-
Nodebb config should look like this:
{ "url": "http://domain.com/forum", "secret": "somehash", "database": "redis", "redis": { "host": "127.0.0.1", "port": "6379", "password": "somepass", "database": "0" } }
Your nginx config (in case you use nginx) should look something like this:
server { listen 80; server_name domain.com; #charset koi8-r; access_log /var/log/nginx/access.log main; error_log /var/log/nginx/error_log; location / { some code for /; } location ^~ /forum { 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"; } }
-
I am running nodebb on nginx with letsencrypt. I don't see any difference from running it directly.
IP banning
[nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)
Fresh install ?
Nominating closed, Voting is in progress; nodeBB is one of nominations. (Chance to Win Free Chromebook from CMScritic)
install on wp site
changing e-mail notification content
How to install NodeBB on Debian 8 (jessie)?
can you help me
Cant access SSH server in Mac
Cant access SSH server in Mac
Setting up Nodebb fail
Deploy NodeBB in a subfolder of a site
Is it bad for performance to have a NGINX reverse proxy ?