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

Proxy http application to https doesn't seem to work correctly for all services #937

Closed
guyspr opened this issue Dec 5, 2016 · 1 comment

Comments

@guyspr
Copy link

guyspr commented Dec 5, 2016

Hello,

I'm experiencing issues using traefik for proxy-ing my application from http to https (not for all).

When using http to http it works fine but when setting the proxy to use https I get served pages like this:

���-�EX���UK��0���W�:��;��;�,��zX �ފ,Mb���J�<��;R�$^z�R��b>�����yV�Q^���֢5�Y��&����<� �-�P0',�|�a����I����|�������Pd��i�Q�SD)ԋ����b�moϡ>Bȶh�r���b����7��-4����]r?#��ȧ����"v������ߋo���o;�z���c jM����7�㙣��)�]0�W����!��h�̔@Q���<"��eĽ�Rz�h�jn�����/nn�nﯮ��9����/���6�����3�+�

Here is my configuration (removed some information). I setup the acme challenge which is working fine for other backend+frontends.

[backends]
  [backends.nzbget]
    [backends.nzbget.servers.server1]
    url = "http://127.0.0.1:9003"
  [backends.cp]
    [backends.cp.servers.server1]
    url = "http://127.0.0.1:9002/"

[frontends]
  [frontends.nzbget]
    backend = "nzbget"
    passHostHeader = true
    [frontends.nzbget.routes.nzbget_1]
    rule = "Host:removed"
  [frontends.cp]
    entrypoints = ["http", "https"]
    backend = "cp"
    passHostHeader = true
    [frontends.cp.routes.cp_1]
    rule = "Host:removed"

Would really appreciate some input on this, I am probably just missing something!

@guyspr
Copy link
Author

guyspr commented Dec 5, 2016

Ok, I am stupid, I enabled compression on https which doesn't work.

@guyspr guyspr closed this as completed Dec 5, 2016
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
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

2 participants