Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx 反向代理模板配置 #608

Closed
YiHui-Liu opened this issue Oct 11, 2024 · 4 comments
Closed

Nginx 反向代理模板配置 #608

YiHui-Liu opened this issue Oct 11, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@YiHui-Liu
Copy link

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;
@YiHui-Liu YiHui-Liu added the enhancement New feature or request label Oct 11, 2024
@0xJacky
Copy link
Owner

0xJacky commented Oct 11, 2024

It there any problem about the current template?

@YiHui-Liu
Copy link
Author

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

@0xJacky
Copy link
Owner

0xJacky commented Oct 11, 2024

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

@YiHui-Liu
Copy link
Author

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

thanks for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants