-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
How to reverse proxy HTTPS to this HTTP using external nginx? #1122
Comments
Complete. 已自行解决。如下是mediacms使用外部nginx多层反向代理方法:一层代理,location中有proxy_set_header Host $http_host;
二层代理:localtion中无proxy_set_header Host $http_host;
|
补充:本人用的nginx是1.20.1,有些版本可能某些模块不支持,不支持的可以注释掉再试试。注意:多试试。 |
I have to say, you're overcomplicating things. MediaCMS determines whether to use HTTP or HTTPS based on the request type. You just need to ensure it receives the correct I wasted a considerable amount of time on this myself, until I realized another forwarding tool was overriding my 我不得不说, 你把问题变得复杂了, mediacms会根据请求来的类型决定是HTTP还是HTTPS , 你只要保证它接受到正确的 我曾经也在这件事情上浪费了不少时间,直到我发现是因为我使用了其他转发工具给我覆盖了 |
Describe the issue
A clear and concise description of what the issue is.
To Reproduce
Steps to reproduce the issue:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
外部nginx,如何反向代理https到该http?
我在配置反向代理过程中发现http被前端写死http://,无法转发到https://
换了proxy nginx docker容器,浏览器提示域名被拒绝访问
How to reverse proxy HTTPS to this HTTP using external nginx?
I found that HTTP was written as' http://'by the frontend during the reverse proxy configuration process, making it impossible to forward to' https://'
Replaced proxy nginx docker container, browser prompts domain access denied ,“ERR_CONNECTION_REFUSED”.
The text was updated successfully, but these errors were encountered: