[GH-ISSUE #608] Nginx 反向代理模板配置 #6084

Closed
opened 2026-03-01 17:09:22 +03:00 by kerem · 4 comments
Owner

Originally created by @YiHui-Liu on GitHub (Oct 11, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/608

Is your feature request related to a problem? Please describe.
no

Describe the solution you'd like
image

add scheme, server and port items, change proxy_pass to:

proxy_pass       $scheme://$server:$port$request_uri;
Originally created by @YiHui-Liu on GitHub (Oct 11, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/608 **Is your feature request related to a problem? Please describe.** no **Describe the solution you'd like** ![image](https://github.com/user-attachments/assets/8d981ccd-16bb-4d6d-9d21-ed5dc14706d6) add `scheme`, `server` and `port` items, change `proxy_pass` to: ``` proxy_pass $scheme://$server:$port$request_uri; ```
kerem 2026-03-01 17:09:22 +03:00
Author
Owner

@0xJacky commented on GitHub (Oct 11, 2024):

It there any problem about the current template?

<!-- gh-comment-id:2406564113 --> @0xJacky commented on GitHub (Oct 11, 2024): It there any problem about the current template?
Author
Owner

@YiHui-Liu commented on GitHub (Oct 11, 2024):

It there any problem about the current template?

No, but if you deploy nginx-ui with docker, other services host will not be 127.0.0.1, so i recommend to add a configuration item with host

<!-- gh-comment-id:2406566380 --> @YiHui-Liu commented on GitHub (Oct 11, 2024): > It there any problem about the current template? No, but if you deploy `nginx-ui` with docker, other services host will not be `127.0.0.1`, so i recommend to add a configuration item with `host`
Author
Owner

@0xJacky commented on GitHub (Oct 11, 2024):

Ok, I will add a field to set the host of backend server.

<!-- gh-comment-id:2406568716 --> @0xJacky commented on GitHub (Oct 11, 2024): Ok, I will add a field to set the host of backend server.
Author
Owner

@YiHui-Liu commented on GitHub (Oct 11, 2024):

Ok, I will add a field to set the host of backend server.

thanks for your work.

<!-- gh-comment-id:2406569474 --> @YiHui-Liu commented on GitHub (Oct 11, 2024): > Ok, I will add a field to set the host of backend server. thanks for your work.
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#6084
No description provided.