Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Proxy over Apache giving blank pages #8703
I have configured an apache 2.4 like described here: https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-Apache-with-LetsEncrypt
Unfortunately I can see some weird issues:
OS: CentOS 7.4
If needed I can provide additional information and you can also contact me via IRC sometimes.
How is your reverse proxy configured for Cockpit? Mine is configured to go to https://www.domain.com/manage/ instead of https://www.domain.com:9090. I had issues with mine displaying blank pages originally but got it to work with the below settings.
Here's the relevant Apache config I used to get it working.
Make sure that you enable Apache modules with
Also, here is my
Hope that helps.
Hey, the above config will use the cert in cockpit. my goal is to terminate the ssl in httpd already.
The issue seems, that even with
Here is the full config that got me proxying working in Apache without using a virtualhost. I used the name cockpit-new because the docs say cockpit and cockpit+ are reserved.
ProxyPass /cockpit-new/cockpit/socket ws://localhost:9090/cockpit-new/cockpit/socket
RequestHeader set X-Forwarded-Proto "https"
Redirect permanent /cockpit-new /cockpit-new/