nginx/apache proxy whut?

General Discussion
  • Hi nodebb Community!

    I'm using nodebb since a few days. This software ist amazing, but I am a little bit confused.

    My Server is running Debian 7. I'm normally adding a virtual server using webmin. But I never did something with proxys. Could somebody help me to bind a Domain to my nodebb using Port 4567 ?

    best wishes


    I tried this:

  • Okay, Update!

    I installed Ubuntu 1404, (because of missing apache 2.4 for Debian)
    and everything else needed. NodeBB is running fine, but won't redirect to my nodebb forum...

    <VirtualHost *:4567>
    <Proxy *>
        order deny,allow
        allow from all
    ProxyPass / ws://
    ProxyPassReverse / ws://
    ProxyPass /
    ProxyPassReverse /
    ProxyPass /
    ProxyPassReverse /

    Is this right? It redirect me to "Apache2 Ubuntu Default Page" (var/www/html)

  • <VirtualHost *:4567>
    <Proxy *>
    order deny,allow
    allow from all

    I don't use Apache, but it should be looking at port 80. Not 4567.

  • 503 Service Unavailable


    but even using nginx it does not work...

    502 Bad Gateway

    server {
    listen 80;
    location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_redirect off;
        # Socket.IO Support
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";

    I followed the documentation and some posts here... but nothing works

    IT WORKS this helped me

  • @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 🙂

Suggested Topics