Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Mixing content: make protocol less. #138

Open
cedricve opened this issue Oct 22, 2018 · 7 comments
Open

Mixing content: make protocol less. #138

cedricve opened this issue Oct 22, 2018 · 7 comments
Assignees

Comments

@cedricve
Copy link
Member

Just attemptig to setup kerberos docker using traefik ( a proxy) and Kerberos falls down becasue of "mixed content" basically all the css and js is in the view with http://{mydomain}... it would make more sense for these all to be protocol less otherwise kerberos will never work properly behind a proxy (which is a standard use case for docker)

@CoReYeDe
Copy link

+1 for this Issue..
I try to use 3 Kerberos-Instances as Docker-Container behind a HA-Proxy with HTTPS as forced Default..

@fabiopbx
Copy link

FYI, mixed content can be fixed by adding \URL::forceScheme('https'); as per #122

Tried and works fine, though it would be nice if there was some auto detection or so of protocol in use :) so we don't need to edit the file every time one updates the docker image....

@Sebastiaan76
Copy link

+1 on this for me too. Trying to use behind reverse proxy ( nginx ). The above fix works, but there is quite a bit of mucking around edit that file within the container.

@cedricve
Copy link
Member Author

cedricve commented Jan 9, 2019

We implemented this ENV var, could you test it out
https://github.com/kerberos-io/docker/blob/master/docker-compose.yml#L16

@Sebastiaan76
Copy link

Sebastiaan76 commented Jan 9, 2019 via email

@cedricve
Copy link
Member Author

cedricve commented Jan 9, 2019

Awesome @Sebastiaan76 would you be interested to contribute this to our documentation branch?

I think for now it could be added here: https://doc.kerberos.io/2.0/installation/Docker.
The related file can be found here: https://github.com/kerberos-io/documentation/blob/develop/70_installation/4_Docker.md.

@fabiopbx
Copy link

@cedricve PR submitted :)

kerberos-io/documentation#15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants