Anyone managed to get NodeBB and Ghost working together ?
-
@phenomlab I guess the problem is in nginx reverse proxy. Do you want me to share my own nginx.conf file?
-
@kurulumu-net Yes please, but I think mine is actually correct
-
@phenomlab said in Anyone managed to get NodeBB and Ghost working together ?:
@kurulumu-net Yes please, but I think mine is actually correct
server { listen 443 ssl http2; listen [::]:443 ssl http2; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; ssl_certificate /etc/ssl/mekicicert.pem; ssl_certificate_key /etc/ssl/mekicikey.pem; ssl_client_certificate /etc/ssl/cloudflare.crt; server_name mekici.com; root /var/www/mekici.com/system/nginx-root; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; proxy_pass http://127.0.0.1:2368; } location ~ /.well-known { allow all; } client_max_body_size 50m; } server { listen 443 ssl http2; listen [::]:443 ssl http2; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; ssl_certificate /etc/ssl/mekicicert.pem; ssl_certificate_key /etc/ssl/mekicikey.pem; ssl_client_certificate /etc/ssl/cloudflare.crt; server_name www.mekici.com; return 301 https://mekici.com$request_uri; } server { listen 80; listen [::]:80; server_name mekici.com www.mekici.com; return 301 https://mekici.com$request_uri; }
-
@kurulumu-net Thanks. It's the same as mine
-
@phenomlab Just a couple quickies....
Seems odd that ghost will not even start. Hence I doubt has anything to do with nginx config. Have you tried launching from cli? ps shows no other zombie ghosts are in the lurking?
Also, this on a Ubuntu vm? Dedicated to ghost or same vm nodebb is on?
-
@gotwf Exactly. No other Ghost processes are running. This is the same box that Sudonix.com runs on - it's a Webmin / Virtualmin build.
I recently installed Ghost for someone else using the same build and that works fine.
-
@phenomlab blog is working. how did you solve the problem?
-
-
@phenomlab Interestingly... heh... I just shot you a pm at your site about bypassing systemd and testing directly from cli. So seems you're making progress, at least. Have fun! o/