plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Feature Request: Add proxy_intercept_errors to nginx plugin

Open Jannik-Hm opened this issue 5 months ago • 0 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
  • [x] When the request is meant for an existing plugin, I've added its name to the title.

Describe the solution you'd like As it is already possible to create custom error pages, it would be a nice addition to add proxy_intercept_errors as a toggle, to override downstream error responses.

For example, I currently have nginx on opnsense as my central reverse proxy. It distributes to all other servers / services. One of those services is a kubernetes cluster with traefik for handling traffic. When traefik now responds with a 403 error code, nginx just forwards the traefik error page instead of serving the custom nginx one.

Jannik-Hm avatar Sep 05 '24 19:09 Jannik-Hm