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

SSL Scheme #4

Closed
theonlydoo opened this Issue Mar 11, 2017 · 10 comments

Comments

Projects
None yet
4 participants
@theonlydoo
Copy link

theonlydoo commented Mar 11, 2017

Turns out, while using a reverse proxy, assets are loaded through http still, is it possible to set a flag "ssl: true" in the docker-compose file ?

ulvad3xqp2qeqyae13qenuanb

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Mar 11, 2017

@theonlydoo hmm this is a Laravel issue, by default http is set. Laravel requires to set the SSL scheme in the webapplication config.

@theonlydoo

This comment has been minimized.

Copy link

theonlydoo commented Mar 13, 2017

yep but may it be configured through docker environment variables?

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Mar 13, 2017

ideally, yeah but that would require some changes in the web repository first.

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Mar 28, 2017

@theonlydoo I was thinking if you made some progress on this issue, or you're waiting for a solution?

@theonlydoo

This comment has been minimized.

Copy link

theonlydoo commented Mar 28, 2017

hey @cedricve : neither :-) I stayed on zoneminder, because I had also some issues adding my http cgi video input to kerberos and had very little time to test it. I opened the issue just to raise a problem, which may concern a lot of people who are using a reverse proxy

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Mar 28, 2017

Ok @theonlydoo thanks for the feedback. I'll work on it and update this issue, once I've a resolution. Let's keep in touch.

@cedricve cedricve self-assigned this Mar 28, 2017

@codefox42

This comment has been minimized.

Copy link

codefox42 commented May 13, 2017

I am also very interested in a way to enable detection of SSL at the frontend. Ideally the web application should detect this scenario by checking X-Forwarded-Proto (like described in this answer on SO).

During my research I came accross Laravel Trusted Proxies. It sounds to me (while not having any experience with Laravel) like a way to add support for this topic to the docker image with little overhead.

What do you think?

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Jul 4, 2017

Will be fixed in next release.

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Jul 15, 2017

fixed in master image, KiOS 2.4.0

@cedricve cedricve closed this Jul 15, 2017

@Dids

This comment has been minimized.

Copy link

Dids commented Jul 18, 2018

This is still an issue in the kerberos/kerberos:latest Docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment