From c83570868958f4639ce72cf2e7728b84e053fd11 Mon Sep 17 00:00:00 2001 From: timando Date: Sat, 13 May 2017 08:21:19 +0000 Subject: [PATCH] docs: Add instructions for opening firewall on CentOS (#6605) * Add instructions for opening firewall * Allow access through the firewall --- doc/Installation/Installation-CentOS-7-Apache.md | 7 +++++++ doc/Installation/Installation-CentOS-7-Nginx.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/doc/Installation/Installation-CentOS-7-Apache.md b/doc/Installation/Installation-CentOS-7-Apache.md index c930ad2d7f..35ff969ac2 100644 --- a/doc/Installation/Installation-CentOS-7-Apache.md +++ b/doc/Installation/Installation-CentOS-7-Apache.md @@ -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 diff --git a/doc/Installation/Installation-CentOS-7-Nginx.md b/doc/Installation/Installation-CentOS-7-Nginx.md index 06d9927c2b..c4ae1f0f02 100644 --- a/doc/Installation/Installation-CentOS-7-Nginx.md +++ b/doc/Installation/Installation-CentOS-7-Nginx.md @@ -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