@Nicolas Ok, thanks. Then the only possible solution is Oauth2
Best posts made by smendez-hi
-
RE: [nodebb-plugin-ns-login] NS Login
Latest posts made by smendez-hi
-
RE: Profile images not showing - nodebb behind nginx
Ok, thanks to both of you. In case of any news i will update this thread. But for now i will continue with this bug. We can live with this.
-
RE: Profile images not showing - nodebb behind nginx
@julian Do you have the trailing slash inside the location block as well? In the
proxy_pass
line?http://127.0.0.1:4567/
? -
RE: Profile images not showing - nodebb behind nginx
@pitaj The user avatar. I didn't try to change the cover image.
-
RE: Profile images not showing - nodebb behind nginx
@julian Adding the trailing
/
messes up the redirections to/forum
. But manually changing the url to access and changing the profile image still works as before -
RE: Profile images not showing - nodebb behind nginx
@julian The location configuration:
location ^~ /forum { 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; #rewrite ^/forum(.*) /$1 break; 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"; }
-
RE: Profile images not showing - nodebb behind nginx
@pitaj I'm already in production so I will update it only if the error is solved. Otherwise i don't want to take risks because this is the only issue i have. I will try this week with my local environment and see what happens. Any issue i'll update this thread. Thanks for your help
-
RE: Profile images not showing - nodebb behind nginx
@pitaj Sorry to reply this late
So the url is correct then. My current version is v1.4.4. -
RE: Profile images not showing - nodebb behind nginx
The
url
value is with/forum
at the end. I havehttps://DOMAIN:PORT/forum
. Should it be without/forum
? Also, should it belocalhost:4567
? -
Profile images not showing - nodebb behind nginx
Hi all,
I have nodebb behind nginx, redirecting /forum to localhost:4567. When an user uploads a new profile picture it is shown, but if they log out and then come back again the picture is gone. If i check /api/me I can see that the image path is wrong, it puts /forum/forum/assets/uploads..., when i suppose it should be only /forum/assets/uploads...
What can i do to solve this issue? Thanks -
RE: How I can Integrate NodeBB into my website
I found out that if i remove the cookie
express.sid
then i'm logged out... But i don't like that workaround. Any other ideas to log out from the outside?