Skip to content
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

Feature Request: Don't enforce https for the included nginx #8

Open
mtippmann opened this issue Aug 29, 2019 · 1 comment
Open

Feature Request: Don't enforce https for the included nginx #8

mtippmann opened this issue Aug 29, 2019 · 1 comment
Assignees

Comments

@mtippmann
Copy link

TLS termination is often handled outside of Docker and the current nginx config enforces a redirect to a https:// url - this creates infinite redirect loops if the docker setup is used i.e. behind an Apache with ProxyPass to the HTTP-Port.

Of course it's possible to move the nginx part into Apache or traefik or something else but a working setup out of the box that doesn't enforce a redirect to HTTPS or a configuration knob for that would be nice :)

Workaround for Apache2 Proxy:

        ProxyPreserveHost on
        SSLProxyEngine on
        # we can't really verifiy that self-signed cert
        SSLProxyVerify none 
        SSLProxyCheckPeerCN off
        SSLProxyCheckPeerName off
        SSLProxyCheckPeerExpire off
        ProxyPass / https://localhost:4443/
        ProxyPassReverse / https://localhost:4443/

Thanks for providing these docker images!

@michzimny michzimny self-assigned this Aug 29, 2019
@michzimny
Copy link
Owner

@mtippmann, thank you. You're perfectly right! I will try to implement a change soon, but in the meantime, feel free to issue a PR if you get to something working on your side.

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

No branches or pull requests

2 participants