Home >Operation and Maintenance >Linux Operation and Maintenance >nginx deployment~dotnetCore+mvc website 502

nginx deployment~dotnetCore+mvc website 502

PHP中文网
PHP中文网Original
2017-07-11 18:16:341756browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn