Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 369 Bytes

enable-reverse-proxy-in-centos.md

File metadata and controls

19 lines (12 loc) · 369 Bytes
  • Date : 2017-09-01
  • Tags : #sysadmin #proxy #web

Enable reverse proxy in CentOS

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