Skip to content

req.subrequest() there is no way to specify/override HTTP headers #13

@drsm

Description

@drsm
    location = /check {
        internal;
        proxy_set_header Accept-Encoding '';
        proxy_set_header Content-Type 'application/x-www-form-urlencoded';
        proxy_pass https://www.google.com/recaptcha/api/siteverify;
    }

while proxying i can solve this, but if a subrequest hits a js_content location there is no way.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions