Browse Source

Updated httpd config

2xB 2 years ago
parent
commit
ebdaad05f6
1 changed files with 18 additions and 5 deletions
  1. 18 5
      docker/custom-httpd.conf

+ 18 - 5
docker/custom-httpd.conf

@@ -291,13 +291,26 @@ DocumentRoot "/usr/local/apache2/htdocs"
     Require all granted
     
     
-    DirectoryIndex index.html
-    Order Allow,Deny
-    Allow from 141.52.12.0/24
+    Order Deny,Allow
+    Deny from all
+    
+    # TLK
+    Allow from 141.52.13.0/24
+    
+    # IKP
+    Allow from 141.52.24.0/24
+    
+    # IPE
+    Allow from 141.52.64.0/24
+    
     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
+    require valid-user
+    Satisfy Any
+
 </Directory>
 
 #