On 02.04.2015 10:40, Stef Walter wrote:
On 02.04.2015 01:55, Rouven Rastetter wrote:
Hi, I did not find any information regarding the use of a http reverse
proxy (e. g. nginx) in front of the cockpit http server.
Specifically I want nginx to do all the TLS stuff while it connects to
cockpit via plain http.
Nice.

I got this to work by changing the "Origin" Http-Header from https to
http. Otherwise cockpit complains about a "bad Origin".
In addition, with Cockpit 0.49 and later, there is a config option where
you can set the Origins that are accepted:

http://files.cockpit-project.org/guide/cockpit.conf.5.html

Ah thanks that is what i was looking for!
Somehow I only got an old (cached) version of that site yesterday ...
I included the nginx config sample as attachment.

I hope this can help others trying to set this up with nginx and maybe
it can be added to the wiki on github.
Sure that sounds like a good idea. Would you like to start a wiki page
called "Proxying Cockpit"?
Yes sure, I can do that. Though I don“t know if I have the time in the next days. Do I need any rights or can I just add a new page? I have no experience with github wikis yet :)

Stef
_______________________________________________
cockpit-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cockpit-devel

_______________________________________________
cockpit-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cockpit-devel

Reply via email to