[[Pound]]

*URLで振り分け [#e1ac598a]
-IPアドレス300秒セッションキープ(同じIPアドレスに振り続ける)
-80番ポート受付と、443番ポート受付
-該当しないリクエストは全て123.456.789.103へ
 ### Main listening ports
 ListenHTTP
    Address 0.0.0.0
    Port    80
    xHTTP   0
 
 Service
    HeadRequire "Host: .*www\.(hoge\.com|hogesite\.jp).*"
    URL "^/s/"
    BackEnd
        Address 123.456.789.101
        Port    80
    End
    Session
        Type    IP
        TTL     300
    End
 End
 
 End
 
 ### SSL
 ListenHTTPS
    Address 123.456.789.100
    Port    443
	Cert    "/etc/pound/www.hogehoge.com.pem"
    Ciphers "ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL"
    xHTTP   0
    Err500 "/etc/pound/error/noavailable.html"
    Err503 "/etc/pound/error/noavailable.html"
 
 Service
    HeadRequire "Host: .*www\.(hoge\.com|hogesite\.jp).*"
    BackEnd
        Address 123.456.789.101
        Port    80
    End
 End
 
 # Catch-all server(s)
 Service
     Backend
         Address 123.456.789.103
         Port80
     End
 End
 
 End

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS