Sample POUND Config

pound.cfg

User "nobody"

Group "nobody"

ListenHTTP

Address 10.0.4.99

Port 80

Service

Redirect "https://imageportal.rave.ac.uk"

End

End

ListenHTTPS

Address 10.0.4.99

Port    443

Cert    "/opt/local/etc/imageportal.rave.ac.uk_chain.pem"

Service

BackEnd

Address 10.0.4.99

Port    8080

End

End

End

Or


User "www"
Group "www"

ListenHTTP
    Address 10.0.4.89
    Port 80
        # Send SOAP requests to backend
        Service
                URL "/jira/rpc.*"
                BackEnd
                        Address 10.0.4.89
                        Port 18080
                End
        End
        # Redirect all other requests to https
        Service
                Redirect "https://support.rave.ac.uk/jira/"
        End
End

ListenHTTPS
        Address 10.0.4.89
        Port    443
        Cert "/usr/local/etc/ssl.crt/support_cert.pem"
        Service
                BackEnd
                        Address 127.0.0.1
                        Port    18080
                End
        End
End

 

Note Pounds Service list is in order from top down