Kaynağa Gözat

Updating default pound.cfg to actually work with the packaged version. Submitted by <skaar>

Ralf S. Engelschall 19 yıl önce
ebeveyn
işleme
c0ef862142
2 değiştirilmiş dosya ile 43 ekleme ve 17 silme
  1. 42 16
      pound/pound.cfg
  2. 1 1
      pound/pound.spec

+ 42 - 16
pound/pound.cfg

@@ -2,25 +2,51 @@
 ##  pound.cfg -- Pound Reverse Proxy Configuration
 ##
 
-User         @l_nusr@
-Group        @l_ngrp@
+User         "@l_nusr@"
+Group        "@l_ngrp@"
 
-RootJail     @l_prefix@/var/pound
+RootJail     "@l_prefix@/var/pound"
 LogLevel     2
+Alive        30
 
-ListenHTTP   127.0.0.1,8080
-ListenHTTPS  127.0.0.1,8443 @l_prefix@/etc/pound/pound.pem
-
-ExtendedHTTP 1
-WebDAV       1
+ListenHTTP   
+    Address    127.0.0.1
+    Port       8080
+    xHTTP      1
+    WebDAV     1
+    Client     30
+    CheckURL   ".*"
+End
 
-Alive        30
-Client       30
+ListenHTTPS  
+    Address    127.0.0.1
+    Port       8443 
+    Cert       "@l_prefix@/etc/pound/pound.pem"
+    xHTTP      1
+    WebDAV     1
+    Client     30
+    CheckURL   ".*"
+End
 
-UrlGroup     ".*"
-BackEnd      127.0.0.1,80,1
-#BackEnd     127.0.0.1,81,2
-#BackEnd     127.0.0.1,82,3
-Session      IP 300
-EndGroup
+Service
+    BackEnd      
+        Address    127.0.0.1
+        Port       80
+        Priority   1
+    End
+    #BackEnd      
+    #    Address    127.0.0.1
+    #    Port       80
+    #    Priority   2
+    #End
+    #BackEnd      
+    #    Address    127.0.0.1
+    #    Port       80
+    #    Priority   3
+    #End
+    Session
+         Type      IP
+         TTL       300
+    End
+End
 

+ 1 - 1
pound/pound.spec

@@ -33,7 +33,7 @@ Class:        EVAL
 Group:        Web
 License:      GPL
 Version:      2.0.4
-Release:      20060320
+Release:      20060513
 
 #   package options
 %option       with_fsl  yes