Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Tags
    3. proxy
    Log in to post
    • D

      Azure WebSockets + NodeBB + Node.js Proxy
      Technical Support • azure proxy websockets • • danlong

      6
      0
      Votes
      6
      Posts
      219
      Views

      julian

      Definitely would appreciate updates to our documentation so you can help others facing similar problems! 😄 Glad you're on your way.

    • remydev

      SOLVED nginx reverse proxy nodebb
      Technical Support • nginx proxy • • remydev

      4
      0
      Votes
      4
      Posts
      2186
      Views

      PitaJ

      Yes, the url in config.json should be equal to exactly the URL at which you access your site. It usually shouldn't be localhost or an IP address.

    • lenovouser

      Secure images for NodeBB with external camo
      Tutorials • camo image proxy security ssl • • lenovouser

      6
      3
      Votes
      6
      Posts
      4620
      Views

      teh_g

      Bringing an old thread to life again, sorry!

      I'd also love some help with the instructions for running this in a Docker image. It would make life a bit easier for deploying this in DigitalOcean.

    • lenovouser

      Using CloudFlare with NodeBB
      Tutorials • cloudflare nodebb proxy websocket websockets • • lenovouser

      80
      14
      Votes
      80
      Posts
      48001
      Views

      Jenkler

      I guess you have som configuration issues in nginx!

      Here is my config! Maybe this will help you 😉

      Server block

      server { listen 443 ssl; location @nodebb { proxy_pass http://www-nodebb-se:4567; } location ~ ^\/assets\/(.*) { root /server/nodejs/nodebb.se/www/; try_files /build/public/$1 /public/$1 @nodebb; } location /plugins/ { root /server/nodejs/nodebb.se/www/build/public/; try_files $uri @nodebb; } location / { proxy_pass http://www-nodebb-se:4567; } proxy_http_version 1.1; proxy_redirect off; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_set_header Upgrade $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; proxy_set_header X-Real-IP $remote_addr; server_name nodebb.se www.nodebb.se; ssl_certificate /server/nginx/ssl/nodebb.se.crt; ssl_certificate_key /server/nginx/ssl/nodebb.se.key; if ($host != 'www.nodebb.se') { rewrite ^/(.*)$ https://www.nodebb.se/$1 permanent; } }

      Global block

      ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5; ssl_prefer_server_ciphers on; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m;

      BTW, if someone know any tweeks please advice 😛 And plz explain why!

    • A

      Windows Server 2012R2 IIS Configuration
      Technical Support • iis proxy reserve windows server 2012 • • Andi

      9
      0
      Votes
      9
      Posts
      2996
      Views

      psychobunny

      https://docs.nodebb.org/en/latest/installing/os.html

      There's an edit button on the top right, and making a new page is as easy as just cloning and copying and pasting another guide and editing it

    • Y

      UNSOLVED Apache 2.4 proxy for NodeBB has socket.io problems
      Technical Support • apache proxy socket.io websockets • • Ywat

      1
      0
      Votes
      1
      Posts
      4195
      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.

    • Bálint Antal

      Unix Sockets
      Feature Requests • proxy socket unix • • Bálint Antal

      5
      1
      Votes
      5
      Posts
      2121
      Views

      Bálint Antal

      Then, I opened my thread in the good topic. I would request that feature. 😉

    • Tanner

      Subdomain proxy for Apache
      Feature Requests • apache proxy • • Tanner

      8
      0
      Votes
      8
      Posts
      6676
      Views

      Karli Ots

      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>

    • P

      nginx as proxy with wordpress
      General Discussion • nginx proxy wordpress • • peter

      8
      0
      Votes
      8
      Posts
      3298
      Views

      P

      @a_5mith I have it setup on a new DO droplet using the server IP (no domain yet) for both server_name and the base_url - basically replacing localhost referenced in my previous post. Hope that makes sense.

      for example:
      "base_url": "http://xxx.xxx.xxx.xxx",
      server_name xxx.xxx.xxx.xxx;

      working url via http://xxx.xxx.xxx.xxx:4567/forum
      404 not found for http://xxx.xxx.xxx.xxx/forum

      Appreciate all you help.

    • jmj

      nginx/apache proxy whut?
      General Discussion • apache nginx proxy webmin • • jmj

      5
      0
      Votes
      5
      Posts
      49915
      Views

      psychobunny

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

    • markkus

      Forwarding IPs on nginx proxy
      General Discussion • nginx proxy • • markkus

      7
      0
      Votes
      7
      Posts
      3323
      Views

      A

      @markkus Sounds good to me. 👍 Hopefully this also solves @helltux's issue too.

      Assuming he correctly substitutes his IP in proxy_pass and his domain name in base_url. 😆

    • M

      nginx as reverse proxy
      General Discussion • nginx proxy • • Matt Worthington

      23
      0
      Votes
      23
      Posts
      16575
      Views

      meetdilip

      hi @Matt-Worthington . Nice to see you here. 🙂