Преглед изворни кода

Fix auth not being required

2xB пре 2 година
родитељ
комит
5b17244f63
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      docker/custom-httpd.conf

+ 4 - 1
docker/custom-httpd.conf

@@ -288,7 +288,7 @@ DocumentRoot "/usr/local/apache2/htdocs"
     #
     # Controls who can get stuff from this server.
     #
-    Require all granted
+    # Require all granted
     
     
     Order Deny,Allow
@@ -305,6 +305,9 @@ DocumentRoot "/usr/local/apache2/htdocs"
     
     Allow from 127.0.0.0/8
     
+    # Podman network for testing
+    Allow from 10.0.2.100/1
+    
     AuthName "SDS status monitor"
     AuthType Basic
     AuthUserFile /usr/local/apache2/htdocs/.htpasswd