Skip to content

Modifying reverse proxy response? #20

Description

@torarnv

Can a CGI be fed the response from a reverse proxy, modify it , and spit out the modified response?

I tried this without success:

        reverse_proxy {host}:443 {
                header_up Host {upstream_hostport}
                handle_response {
                    handle /some/path/i/want/to/override {
                        cgi * /scripts/hello.py {
                            pass_all_env
                        }
                    }
                    handle {
                        copy_response
                    }
                }
            }

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