• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

H

hans4arpei

@hans4arpei
About
Posts
6
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    RE: [SOLVED]Setup NGINX + NodeBB on a subdomain
  • H hans4arpei

    Solved. Cloudflare was the problem.


  • RE: [SOLVED]Setup NGINX + NodeBB on a subdomain
  • H hans4arpei

    @pichalite "Server not found"

    The Subdomain exists and is pointing to the nodebb forum with an A record.


  • RE: [SOLVED]Setup NGINX + NodeBB on a subdomain
  • H hans4arpei

    @pichalite said in Setup NGINX + NodeBB on a subdomain:

    our IP:4567;

    Still no changes


  • RE: [SOLVED]Setup NGINX + NodeBB on a subdomain
  • H hans4arpei

    @pichalite Yes I can Access it and everything gets displayed as it should


  • RE: [SOLVED]Setup NGINX + NodeBB on a subdomain
  • H hans4arpei

    Thanks for the fast reply!

    When I open the subdomain I see nothing at all.
    Here is a part of my nginx.conf:

     http {
        upstream nodebb {
         server IP:4567;
        }
    }
    

    And here is the sites-available File:

      server {
        listen 80;
        #listen [::]:80 default_server ipv6only=on;
    
        root /var/www/FORUMNAME/forums;
        index index.html index.htm;
    
        # Make site accessible from http://localhost/
        server_name community.FORUMNAME.us;
        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                # try_files $uri $uri/ =404;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
                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_pass http://nodebb;
                proxy_redirect off;
    
                # Socket.IO Support
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
    
    
        }
    

    ( i replaced the original ip with IP and the forum name with FORUMNAME.)

    Anything wrong with that setup?


  • [SOLVED]Setup NGINX + NodeBB on a subdomain
  • H hans4arpei

    I was following this tutorial: http://www.blogsynthesis.com/nginx-as-nodebb-proxy/

    NodeBB is running, nginx is running.
    I did EXACTLY everything described there, but still the subdomain wont show up the NodeBB forums.

    What i did:
    Followed the tutorial step by step
    Setup subdomain on my hoster
    Point the A record of the subdomain to the digital ocean droplet( forum)

    Any help?

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.