【发布时间】:2020-12-01 21:58:24
【问题描述】:
我可能计划在 apache 反向代理后面的 linux 上运行 asp.net core。
运行 asp.net core 时需要在 https 上运行吗?
我可以如下设置 apache https 指令 - 当我从浏览器访问它时它工作正常。
ProxyPass / http://127.0.0.1:5000/
ProxyPassReverse / http://127.0.0.1:5000/
ServerName app.domain.com
ServerAlias *.app.domain.com
ErrorLog ${APACHE_LOG_DIR}helloapp-error.log
CustomLog ${APACHE_LOG_DIR}helloapp-access.log common
这有什么问题吗?
【问题讨论】:
-
应该在有和没有 https 的情况下工作
-
在没有 https 的情况下在本地运行会不会有任何安全问题?
-
@Steve 有什么更新吗?我的回复对你有帮助吗?
标签: apache asp.net-core reverse-proxy