目次

Poundの設定ファイル

設定ファイル(pound.cfg)は/usr/local/etcがデフォルトの配置先となる。
pound起動時に-fの引数をつける事で任意の設定ファイルを参照できるため、状況に応じた複数の設定ファイルを用意し、用途に応じて切り替えて起動させることも可能。

サンプル

# 
# pound configuration
# date : 2010-08-04
#

## System Configuration
User		"httpd"
Group		"httpd"
LogLevel	3
Alive		60
Daemon		1


## Pound Server

ListenHTTP
  Address 192.168.1.200
  Port 80
End


## Backend Server

# sorry.asabiya.net
Service
  HeadRequire "Host: .*sorry.asabiya.net.*"
  BackEnd
	Address  192.168.1.200
	Port     8080
	Priority 1
  End
End

# EOF

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS