Skip to content

Cloudflare Bad Gateway #197

@YaltaZ

Description

@YaltaZ

When sshwifty is reverse proxied with a subdomain on cloudflare I have a 502 Bad gateway error :

Image

This only happens if the dns record is proxied.

According to cloudflare, it could be due to the content-lenght header
https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-502-504/

Disabling automatic https rewrites fixes it.

My reverse proxy is caddy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions