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.
smendez-hi
Posts
-
Profile images not showing - nodebb behind nginx -
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/
? -
Profile images not showing - nodebb behind nginx@pitaj The user avatar. I didn't try to change the cover image.
-
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 -
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"; }
-
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
-
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. -
Profile images not showing - nodebb behind nginxThe
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 nginxHi 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 -
How I can Integrate NodeBB into my websiteI 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? -
How I can Integrate NodeBB into my website@julian I have that already. I want it the other way: if the user logs out from my website, log him out from NodeBB. Is it possible?
-
How I can Integrate NodeBB into my website@julian I've successfully integrated the SSO oauth plugin with my website using OAuth2orize. I can log in but i don't know how to log out. Any idea?
-
Question about Nodebb-plugin-sso-oauth callback functionality@julian And where is
/auth/yourplugin/callback
handled? Because in the case of nodebb-plugin-sso-oauth it takes to the homepage of the forum. But i want to change that behaviour and i don't know where or how. -
[nodebb-plugin-ns-login] NS Login@Nicolas Ok, thanks. Then the only possible solution is Oauth2
-
[nodebb-plugin-ns-login] NS Loginany news on this? What @agarcia17 says is what i'm looking for.