Skip to content

Load Cockpit into a IFrame #19244

Answered by martinpitt
FTeinz asked this question in Q&A
Discussion options

You must be logged in to vote

Indeed this will not work if the iframes come from a different origin, see https://cockpit-project.org/guide/latest/embedding.html . The way to make this work is to have a reverse proxy to make cockpit "appear" under the same origin as Organizr. See e.g. https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-Apache-with-LetsEncrypt or https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-NGINX for recipes.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by martinpitt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #19243 on August 25, 2023 11:27.