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?