#TIL : Enable reverse proxy in CentOS


01 Sep 2017 / by KhanhIceTea

CentOS with SELinux enabled by default will block any http proxy connection. So you have to enable this permission.

Temporary enable

$ /usr/sbin/setsebool httpd_can_network_connect 1

Permanent enable

$ /usr/sbin/setsebool -P httpd_can_network_connect 1

Sound good ?