From 8d39bd8ed04b076344b3a0e28d9a4d0cea21dcd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Wed, 26 Feb 2020 15:45:00 +0100 Subject: [PATCH] Update Apache2 sample configuration to allow disable password asking when we're on a private network --- resources/apache2_gpass.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/apache2_gpass.conf b/resources/apache2_gpass.conf index 1795d49..abd634e 100644 --- a/resources/apache2_gpass.conf +++ b/resources/apache2_gpass.conf @@ -8,10 +8,16 @@ AuthType Basic AuthName "Private" AuthUserFile /private/_pwd/user - Require valid-user + Options +FollowSymlinks + # Uncomment to remove password for internal network + # + # Require ip 192.168.0.0/24 + Require valid-user + # + Options +FollowSymlinks Allow from all Satisfy Any