Skip to content
  • 0 Votes
    2 Posts
    2k Views
    ?

    @Verpz share your Apache config. I suspect it to be wrong.

    Also check the log files of NodeBB for any errors.

  • .htaccess files and NodeBB

    Unsolved Technical Support
    1
    1 Votes
    1 Posts
    1k Views
    H

    Please forgive my newbie question but can .htaccess files be used with NodeBB?

    I usually enable them via Apache and then place one in my project's root directory but I have no idea where that is with reference to NodeBB.

  • 0 Votes
    7 Posts
    4k Views
    H

    @hoathenguyen85 Hey! I've tried virtual host rewrite rules such as this and they don't work. Can you confirm if this works for you?

  • 0 Votes
    9 Posts
    7k Views
    H

    @Kowlin Thanks for your help with this!

  • 0 Votes
    1 Posts
    4k Views
    Y

    Hi folks,

    I used the 2.4 proxy instructions from the docs. But it's not working correctly for me. I assume because I want the proxy to only work on '/community'.

    Here's my current setup:

    I have a proxy here: https://openrct2.com/community (HTTPS) NodeBB actually runs on: http://delia.limetric.com:4567/community/ (just normal HTTP)

    The proxy itself works great, but socket.io keeps complaining about not being able to connect using websockets: "WebSocket connection to 'wss://openrct2.com/community/socket.io/?EIO=3&transport=websocket&sid=OORktGqFRszzHMQNAAWr' failed: Error during WebSocket handshake: Unexpected response code: 400"

    Here's a pastebin to my Apache config: http://pastebin.com/UMMadXVR

    What should I change to my config to make websockets work correctly?

    Thanks in advance.

  • 0 Votes
    3 Posts
    3k Views
    Andreas KnightA

    Yes I've tried it.

    Getting an Error. After hours of Google - I have no Idea to fix it:

    nginx: [emerg] "server" directive is not allowed here in /var/www/vhosts/system/ebikeforums.eu/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed
  • Apache Server

    Technical Support
    3
    0 Votes
    3 Posts
    2k Views
    R

    Thank you for the reply, I appreciate it. I must have installed it a while ago and I currently don't even remember doing so. Thank you.

  • 0 Votes
    8 Posts
    7k Views
    Karli OtsK

    Ubuntu 16.04 config, if someone might come up with that problem

    <VirtualHost *:80>
    ServerName forum.mysite.com
    <Location />
    ProxyPass http://127.0.0.1:4567/
    ProxyPassReverse http://1277.0.0.1:4567/
    </Location>
    <Location /assets>
    ProxyPass http://127.0.0.1:4567/assets/
    ProxyPassReverse http://1277.0.0.1:4567/assets/
    </Location>
    <Location /socket.io>
    ProxyPass http://127.0.0.1:4567/socket.io/
    ProxyPassReverse http://1277.0.0.1:4567/socket.io/
    </Location>
    </VirtualHost>

  • 0 Votes
    5 Posts
    50k Views
    P

    @jmj I found that this thread was deleted, I've restored it because I think it will be useful to someone in the future. Hope that's OK with you - and I'm glad you figured it out 🙂

  • 0 Votes
    3 Posts
    3k Views
    T

    @psychobunny I believe it has something to do with CentOS or running Plesk/cPanel as I have not for the life of me been able to make it work properly, even with that guide. We are switching to a Debian server soon without Plesk or cPanel so hopefully that will render the issue solved.

  • 0 Votes
    8 Posts
    4k Views
    T

    So does anyone have any experience running these types of things in an environment with Plesk/cPanel? I could really use a hand right now as this problem is being pervasive.

  • 0 Votes
    6 Posts
    4k Views
    N

    @igbuend Thank you for the suggestion. I did look into Reaction but it is still in development and doesn't seem to have the flow or the ability to organize large number of products in a good way.