This is not a problem with nginx, nor a problem with dotnet core, nor a problem with mvc, nor a problem with the firewall!
The reason is thisSeLinux
Just turn it off
setsebool -P httpd_can_network_connect <span style="color: #800080;">1</span>
Thanks to the author of this article!
<span style="color: #800080;"><br></span>
The above is the detailed content of nginx deployment~dotnetCore+mvc website 502. For more information, please follow other related articles on the PHP Chinese website!