[GH-ISSUE #145] Add API Gateway Style Configuration Template #4508

Open
opened 2026-03-01 15:33:49 +03:00 by kerem · 0 comments
Owner

Originally created by @kylinsoong on GitHub (Jul 19, 2023).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/145

Nginx are more and more used in Container and as key build block of API Platform or API Gateway.

What the key under this is the nginx raw plain text style configuration not welcomed by cloud native developer or modern devops.

Is possible to ad a API Gateway Style Configuration Template.

which simply define configuration Template as below:

spec:
  host: gw101.example.com
  upstreams:
  - name: http-app
    service: http-app-svc
    port: 80
  routes:
  - path: /
    action:
      pass: http-app

there should be a translate controller that convert Template to nginx configration, [1] is a example.

The key thoughts here is:

  • The Template base on most frequent used nginx senario, and defined as application Template
  • The Template should cover container and non container senario

[1] https://github.com/cloudadc/cloud-quickstarts/tree/main/api-gw/nginx

Originally created by @kylinsoong on GitHub (Jul 19, 2023). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/145 Nginx are more and more used in Container and as key build block of API Platform or API Gateway. What the key under this is the nginx raw plain text style configuration not welcomed by cloud native developer or modern devops. Is possible to ad a API Gateway Style Configuration Template. which simply define configuration Template as below: ~~~ spec: host: gw101.example.com upstreams: - name: http-app service: http-app-svc port: 80 routes: - path: / action: pass: http-app ~~~ there should be a translate controller that convert Template to nginx configration, [1] is a example. The key thoughts here is: - The Template base on most frequent used nginx senario, and defined as application Template - The Template should cover container and non container senario [1] https://github.com/cloudadc/cloud-quickstarts/tree/main/api-gw/nginx
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#4508
No description provided.