Elo Discoursers…
I have Discourse and Wordpress running on the same host, except that Discourse is inside a Docker container with Nginx setup “external” to docker using a reverse-proxy.
Installed wp-discourse on my Wordpress site, but it will not connect to Discourse.
I do have the API key from my Discourse instance and the correct URL entered into Wordpress, but when I hit Save …
-
IceCat browser says:
Secure Connection Failed
-
Chromium says:
No data received
-
Nginx log indicates:
SSL_shutdown() failed (SSL: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init) while SSL handshaking
Discourse is installed using the Docker image. In my app.yml I have:
- "templates/web.socketed.template.yml"
… so the Nginx conf has:
location / {
proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
I am sure this is an SSL issue. The Letsencrypt certs are installed and configured in the “exernal” host through Nginx:
ssl_certificate /etc/letsencrypt/live/forum.librenet.co.za/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/forum.librenet.co.za/privkey.pem;
I have no idea how to troubleshoot or fix this. Where could the problem be? Is it the Location (“proxy_pass”) directive?
Any input will be appreciated.