]> git.pld-linux.org Git - packages/pound.git/blobdiff - pound.cfg
- up to 2.5
[packages/pound.git] / pound.cfg
index 882fd8b85b467f1d340eb2639355f0eb0df785cd..65785f063da88411654ff4c4bb78dfe3722718e5 100644 (file)
--- a/pound.cfg
+++ b/pound.cfg
@@ -1,21 +1,50 @@
-User nobody
-Group nobody
-RootJail /usr/share/empty
-ListenHTTP 127.0.0.1,81
-ExtendedHTTP 1
-
-# Images server(s)
-UrlGroup ".*.(jpg|gif)"
-BackEnd 127.0.0.1,80,1
-Session 0
-EndGroup
-
-# Block all requests for /forbidden
-UrlGroup "/forbidden.*"
-EndGroup
-
-# Catch-all server(s)
-UrlGroup ".*"
-BackEnd 127.0.0.1,80,1
-Session BASIC 300
-EndGroup
+# Default pound.cfg
+# vim:ft=sh
+#
+# Pound listens on port 80 for HTTP and port 443 for HTTPS
+# and distributes requests to 2 backends running on localhost.
+# see pound(8) for configuration directives.
+# You can enable/disable backends with poundctl(8).
+#
+
+User "pound"
+Group "pound"
+Control "/var/run/pound/pctl.sock"
+
+# Log errors to this fil
+ErrorLog /var/log/pound/pound.log
+
+# Log accesses to a file
+LogFile /var/log/pound/access.log
+
+# Specify the logging level. This value can be overridden for specific listeners.
+# 0 for no logging,
+# 1 (default) for regular logging,
+# 2 for extended logging (show chosen backend server as  well),
+# 3 for Apache-like format (Combined Log Format with Virtual Host),
+# 4 (same as 3 but without the virtual host information) and
+# 5 (same as 4 but with information about the Service and BackEnd used).
+LogLevel 4
+
+ListenHTTP
+       Address 0.0.0.0
+       Port 80
+End
+
+ListenHTTPS
+       Address 0.0.0.0
+       Port 443
+       Cert "/etc/pki/pound.pem"
+End
+
+Service
+       BackEnd
+               Address 127.0.0.1
+               Port    8000
+       End
+
+       BackEnd
+               Address 127.0.0.1
+               Port    8001
+       End
+End
This page took 0.417189 seconds and 4 git commands to generate.