yuuuuu.png
Issues with 2nd NodeBB installation
-
@cagatay The redirect loop is being caused by this (which I have commented out)
server { listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /etc/ssl/nojorcert.pem; ssl_certificate_key /etc/ssl/nojorkey.pem; ssl_client_certificate /etc/ssl/cloudflare.crt; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; server_name uzayyolu.org; return 301 https://www.uzayyolu.org$request_uri; } server { listen 80; listen [::]:80; server_name uzayyolu.org www.uzayyolu.org; return 301 https://www.uzayyolu.org$request_uri; }
-
@phenomlab so if i add this codes will be work normally? by the way this is same conf like in efelsefe. it works but uzayyolu not interesting.
-
@cagatay If you compare the
nginx.conf
between the two sites, they aren’t the same - you are missing the final block on the newer site which is causing the loop. I’ve changed your NodeBB listening port also in bothconfig.json
andnojor.conf
as theproxy_path
doesn’t seem to work and currently just serves the defaultnginx
page.Checking this now.
-
@phenomlab now there is problem with ./nodebb start as below;
Starting NodeBB "./nodebb stop" to stop the NodeBB server "./nodebb log" to view server output "./nodebb help" for more commands Error: kill EPERM at process.kill (internal/process/per_thread.js:210:13) at /home/nojor/nodebb/loader.js:215:14 at /home/nojor/nodebb/node_modules/graceful-fs/graceful-fs.js:362:16 at FSReqCallback.oncomplete (fs.js:180:23) /home/nojor/nodebb/loader.js:228 throw err; ^ Error: kill EPERM at process.kill (internal/process/per_thread.js:210:13) at /home/nojor/nodebb/loader.js:215:14 at /home/nojor/nodebb/node_modules/graceful-fs/graceful-fs.js:362:16 at FSReqCallback.oncomplete (fs.js:180:23) { errno: -1, code: 'EPERM', syscall: 'kill' }
-
@cagatay I already started it
-
@phenomlab then why i do not see forum at web site? just opening nginx welcome page
-
@cagatay It’s a configuration issue which I am looking at now. You’ll see the instance running if you go to
http://<ipaddress>:4568
-
@phenomlab oh i see. thank you Mark. Thank you so much.
i think the most important point that second nodebb installed other domain name which nojor.com. so we are trying to change name of it also to uzayyolu.org.
maybe its also caused the problem @phenomlab
i think clearly way that re-install all for uzayyolu.org? -
@cagatay No, I don’t think so. I think this is related to SSL enryption. In Cloudflare, can you set the SSL encryption for this domain to
full
? -
@phenomlab now yes; was flexable
-
@cagatay Thought so.
Now we have to deal with the invalid cert
-
@phenomlab sorry for small detail
-
@cagatay No problem - can you set it to
full
and notFull (Strict)
-
@phenomlab setted
-
@cagatay Working now
-
@phenomlab yes i see but i delete all of forums and post how can i do it?
-
-
@cagatay You’d need to delete these manually or reinstall with a blank database.
-
@phenomlab may i use iframely for 2 domains also in the one machine?
answer- yes worked thank you -
@cagatay yes, that will be fine. Just watch for potential caching conflicts as you will have two sites writing to the one instance of iframely.
Did this solution help you?
Related Topics
-
-
-
Welcome to NodeBB V3!
Pinned Moved General -
-
NodeBB v2.4.0
Solved General -
-
-