nginx轉(zhuǎn)發(fā)內(nèi)網(wǎng)時(shí)候會(huì)出現(xiàn)502的問(wèn)題,解決方法如下:
執(zhí)行如下命令打開(kāi):
/usr/sbin/setsebool httpd_can_network_connect true
寫(xiě)入配置文件
setsebool -P httpd_can_network_connect=1
問(wèn)題解決
nginx轉(zhuǎn)發(fā)內(nèi)網(wǎng)時(shí)候會(huì)出現(xiàn)502的問(wèn)題,解決方法如下:
執(zhí)行如下命令打開(kāi):
/usr/sbin/setsebool httpd_can_network_connect true
寫(xiě)入配置文件
setsebool -P httpd_can_network_connect=1
問(wèn)題解決