I was running 1.7.x upgrading to 1.10.x fixed it. Thanks.
killerham
Posts
-
Error When trying to change the username for a user as an admin -
Error When trying to change the username for a user as an adminAnyone have any ideas?
-
Error When trying to change the username for a user as an adminUsing mongoDB
When trying to change a user's username as an admin, getting
ERROR You do not have enough privileges for this action.
However, when adding the admin to the global moderators, it will work. Is there something wrong with my privileges?
-
Kubernetes deploymentI'm currently deploying my forum on a kubernetes cluster, which means that I have to launch with
./nodebb start -d
Is there anyway I can start without starting the forum in the background and have the forum in production mode?
-
csrf-invalid when using cloudfront https@rod Cloudfront is requesting on port 80. Would do 443 but I don't have access to the raw ssl certificates because I'm using AWS's certificate manager for free wildcard certs.
-
csrf-invalid when using cloudfront httpsAnyone have any advice?
-
csrf-invalid when using cloudfront httpsI'm trying to get my nodebb setup working with SSL using AWS's certificate manager. To do this I'm using AWS Cloudfront. Everything is working wonderfully up until I go to set my site URL in the
config.json
As soon as I change the url from
http://forum.example.com
tohttps://forum.example.com
I get csrf-invalid errors when trying to login.here is my
config.json
:{ "url": "https://forum.example.com", "secret": "MYSECRET", "database": "redis", "redis": { "host": "aws.redis.url", "port": "6379", "password": "", "database": "0" } }
Here is my nginx configuration:
server { listen 80; server_name forum.example.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://io_nodes; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } upstream io_nodes { ip_hash; server 127.0.0.1:4567; server 127.0.0.1:4568; }
As you can see I have
proxy_set_header X-Forwarded-Proto $scheme;
as suggested here https://blog.nodebb.org/nodebb-v1-1-0-release/What am I missing in my configuration to get this working?
-
Change redirect link for /login when already logged inI ended up creating an oauth plugin for my app based off of this skeleton:
https://github.com/julianlam/nodebb-plugin-sso-oauthand instead linked it to https://forum.mysite.com/auth/myapp and it performs the intended functionality.
-
Change redirect link for /login when already logged inWhen my user is already logged in, and the user visits /login, it redirects to their profile page.
How can I make it redirect to root instead?