New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank pages with Cockpit behind Nginx #5934
Comments
Is there anything in your browser javascript console? There should be some sort of error there. Is there anything in the journal on the machine? |
Closing because we haven't heard back. Please reopen if you are still having issues. |
@petervo I seem to have this issue but using apache2 |
This is one of them, I think this is the issue. I thought of adding ws to the reverseproxy with empty results =// |
I added the following line to my virtualhost as I said in my previous comment, this gave no results but it might be useful to mention it.
|
Okay, nevermind For apache2 users add the following to your virtual host
|
@norwat: I have the same nginx config more or less (I have even tried to replicate it 100%), and I still get Nginx errors out if I proxy_pass anything to I'm running Ubuntu 16.04.3 LTS with Nginx 1.10.3. |
@moso: I dont remember having that specific issue. But it might have something to do with cockpit config, try this see if it helps:
Im running CentOS 7 with Nginx 1.13.7 |
@petervo I got it working by removing |
I have The Problem on apache2 even after i added
to my virtual hosts .conf file. |
From
This means if you are trying to access cockpit from a public domain name (e.g. https://cockpit.yourdomain.com) it will not work.
|
I get protocol-error notification in my browser after i click login button. I already set it up according to what said in cockpit page on github. I have also tried removing the origin config. |
I am using nginx as well, norwat's gist leads to a 404. If possible please restore it as it may be helpful to me and other people. |
Same issue. Tried already everything and nothing helps. Using apache2 |
Hi,
I've just installed on a fresh CentOS 7 the last version of Nginx and Cockpit (epel repository).
I followed https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-NGINX and have the same config file.
After login I got a blank page, if I do a "F5" the index page shows up and a "Oups" appears on the top right of the screen and disappear after a few seconds.
My network activity shows that the last answer from the webserver is a "101 Switching protocol" on /cockpit/socket.
If I click on Logs or System or Services --> The menu on the left is visible, but the content is blank.
You can see it here : https://i.imgur.com/UeETC9p.png
Can you help me on that ?
The text was updated successfully, but these errors were encountered: