Solved. Cloudflare was the problem.
hans4arpei
Posts
-
[SOLVED]Setup NGINX + NodeBB on a subdomain -
[SOLVED]Setup NGINX + NodeBB on a subdomain@pichalite "Server not found"
The Subdomain exists and is pointing to the nodebb forum with an A record.
-
[SOLVED]Setup NGINX + NodeBB on a subdomain -
[SOLVED]Setup NGINX + NodeBB on a subdomain@pichalite Yes I can Access it and everything gets displayed as it should
-
[SOLVED]Setup NGINX + NodeBB on a subdomainThanks 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 subdomainI 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?