Skip to content

[Feature] Add gRPC reverse proxy support for OpenResty/NGINX #11816

@XDflight

Description

@XDflight

1Panel Version

2.0.17

Please describe your needs or suggestions for improvements

The current reverse proxy feature only supports proxy_pass, which can be limiting in certain applications because NGINX and OpenResty only support the HTTP/1.1 protocol for proxy_pass. On the other hand, gRPC runs over HTTP/2, and NGINX actually provides a module to proxy gRPC traffic, which can be used by simply changing a few proxy_pass configurations to grpc_pass. More information regarding how to configure gRPC reverse proxy on NGINX or OpenResty can be found here: https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_pass.
I think this could be a valuable feature to add. I'm currently doing this by manually editing the reverse proxy configuration file, which works fine but isn't very convenient. Thanks again for creating this fantastic Linux panel :)

Please describe the solution you suggest

No response

Additional Information

No response

Metadata

Metadata

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