Skip to content

proxy Jenkins,400 bad request #7378

@songlongkuan

Description

@songlongkuan

Issue Details

Image

proxy config:

http://jenkins.cc.xxxxxx.com {
    reverse_proxy 192.168.0.233:9090 {

        header_up Host {host}         
        header_up X-Real-IP {remote_host}                                       
        header_up X-Forwarded-For {remote_host}
        header_up Connection {>Connection}
        header_up Upgrade {>Upgrade}
        flush_interval -1                 
        transport http {                  
            read_timeout 300s       
            write_timeout 30s
            dial_timeout 30s 
        } 
    }
}

delete this line code, success request: header_up Upgrade {>Upgrade}
but websocket invalid

Assistance Disclosure

AI not used

If AI was used, describe the extent to which it was used.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions