Run NodeBB on shared host uberspace
-
Yep. Now it's installed. But still have some issues with the htaccess file.
I don't really get that. What do I have to write into the htaccess file?
Right now I have:
RewriteEngine On
RewriteRule ^nodebb/(.*) http://localhost:65532/$1 [P]And I get this and the links don't work.
-
@mono Have you been able to solve the last issue? Right now I' trying to install nodebb on uberspace, too. I got it working until I get to the output which is shown in your screenshot. It looks like the nodebb task can find the stylesheet etc:
25/11 13:45 [19111] - info: NodeBB Ready 25/11 13:45 [19111] - info: Enabling 'trust proxy' 25/11 13:45 [19111] - info: NodeBB is now listening on: 0.0.0.0:61111 25/11 13:45 [19111] - verbose: [hotswap] Router with id `plugins` replaced successfully 25/11 13:45 [19111] - verbose: [plugins] All plugins reloaded and rerouted 25/11 13:45 [19111] - verbose: [hotswap] Router with id `auth` replaced successfully 25/11 13:45 [19111] - verbose: [meta/css] stylesheet.css committed to disk. 25/11 13:45 [19111] - warn: Route requested but not found: / 25/11 13:45 [19111] - warn: Route requested but not found: /stylesheet.css?181d247a-2130-4c3e-aae2-d8524b85dbad 25/11 13:45 [19111] - warn: Route requested but not found: /plugins/nodebb-plugin-markdown/styles/railscasts.css 25/11 13:45 [19111] - warn: Route requested but not found: /nodebb.min.js?181d247a-2130-4c3e-aae2-d8524b85dbad 25/11 13:45 [19111] - warn: Route requested but not found: /nodebb.min.js?181d247a-2130-4c3e-aae2-d8524b85dbad
Did you find a solution?
Thanks
Chrissss -
I got it to work... I changed the .htaccess to
RewriteEngine On RewriteCond %{HTTP_HOST} ^forum.example.com RewriteRule ^(.*)$ http://localhost:61111/$1 [NC,P,L]
and the config.json to
{ "url": "http://forum.example.com", "port": "61111", "secret": "###", "database": "redis", "redis": { "host": "/home/###/.redis/sock", "password": "", "database": "0" } }
Copyright © 2024 NodeBB | Contributors