Requesting Help: Cloudflare SSL Origin Cert | Not working with Wiki.js? #6852
-
|
Hello, I'd like to see if anyone has successfully installed Wiki.js on their Linux machines and supports Cloudflare (Full) SSL enabled with Origin Certification installed locally on the machine and was able to use Wiki.js to support it. Currently, I installed wiki.js by following the steps listed in https://docs.requarks.io/install/ubuntu and I can connect to my webpage by Notes:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Your config doesn't make any sense. If you're using nginx-proxy, then you shouldn't be using SSL on Wiki.js at all. If you're not using nginx-proxy, then you need to mount a custom config.yml file along with the cloudflare origin cert inside the docker container. The docker env vars only allow for a let's encrypt setup. See https://docs.requarks.io/install/config#custom-certificate on how to use a custom cert. Using nginx-proxy is the far easiest solution though. |
Beta Was this translation helpful? Give feedback.






Your config doesn't make any sense.
If you're using nginx-proxy, then you shouldn't be using SSL on Wiki.js at all.
Cloudflare -> 443 on nginx-proxy, configured with an origin SSL cert from Cloudflare -> 3000 (or whatever port you expose 3000 to locally)
If you're not using nginx-proxy, then you need to mount a custom config.yml file along with the cloudflare origin cert inside the docker container. The docker env vars only allow for a let's encrypt setup. See https://docs.requarks.io/install/config#custom-certificate on how to use a custom cert.
Using nginx-proxy is the far easiest solution though.