Skip to content

Enhancement request: control Nginx settings, support multiple virtaul hosts within a single service and allow single controller for all modes #18

@tmeltser

Description

@tmeltser

Hi,
We have been trying the swarm ingress for the last few days and we have found it very useful - a job well done crafting this addon...

During the engagement, we came across the follwoing challenges, ordered by importance:

  1. It seems the default Nginx upload limit is very limited, we got blocked with an upload of 4MB docker image (putting Nexus (as a docker registry) behind the controller). It would be very helpfull if at least some of the configuration of the Nginx would be exposed for us to control. For example in K8S, with Nginx ingress controller, we control the following settings:
  • proxy-body-size: "2g"
  • proxy-connect-timeout: "3600"
  • proxy-read-timeout: "3600"
  • proxy-send-timeout: "3600"
  • enable-access-log-for-default-backend: "true"
  • ssl-redirect: "true"
  • use-http2: "true"
  • use-forwarded-headers: "true"
  • compute-full-forwarded-for: "true"
  1. Specifically in the Nexus case, we have 2 ports exposed, 8081 for the GUI and 7071 for docker registry - it would be very helpfull if we could use the ingress related labels multiple times in a service, one for each designated port
  2. Last but not least, if there is a way to have a single controller that supports all the modes (passthrough and offload/bridge), while moving the mode selection to labels on the service side, that would be quite useful...

If some, or even all of these challenges could be resolved, I think it would benefit the majority of the users of this excellent tool/addon
(beside us of course)...

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