docs: Add instructions for opening firewall on CentOS (#6605)

* Add instructions for opening firewall

* Allow access through the firewall
This commit is contained in:
timando
2017-05-13 08:21:19 +00:00
committed by Neil Lathwood
parent cef1b723f8
commit c835708689
2 changed files with 14 additions and 0 deletions

View File

@ -106,6 +106,13 @@ Add the following config:
setsebool -P httpd_can_network_connect=1
```
#### Allow access through firewall
```bash
firewall-cmd --zone public --add-service http
firewall-cmd --permanent --zone public --add-service http
```
#### Restart Web server
```bash

View File

@ -131,6 +131,13 @@ server {
setsebool -P httpd_can_sendmail=1
```
#### Allow access through firewall
```bash
firewall-cmd --zone public --add-service http
firewall-cmd --permanent --zone public --add-service http
```
#### Restart Web server
```bash