Hello,
thank you for maintaining pound.
We are using it to handle https requests and redirect http requests in
front of varnish cache.
I was wondering if the new pound has the features to do this:
In the process of porting our pound.cfg to pound.yaml, I could not find
corresponding entries in the man page for the following directives:
- xHTTP
- Redirect
- HeadRemove
- AddHeader
Could you let me know if these are supported?
If they are, could you let me know the syntax?
If not, is there a plan to support them soon? And if not, what tool
would you recommend to implement the same functionality?
Sincerely,
Yann Morvan
P.S. Here is the content of our current pound.cfg:
######################################################################
## global options:
User "www-data"
Group "www-data"
#RootJail "/chroot/pound"
## Logging: (goes to syslog by default)
## 0 no logging
## 1 normal
## 2 extended
## 3 Apache-style (common log format)
LogLevel 1
## check backend every X secs:
Alive 30
# poundctl control socket
Control "/var/run/pound/poundctl.socket"
######################################################################
## listen, redirect and ... to:
## redirect all requests on port 80 to https
ListenHTTP
Address X.X.X.X
Port 80
xHTTP 0
Service
HeadRequire "Host:.*X.com.*"
Redirect 301 "https://X.com"
End
End
ListenHTTPS
Address X.X.X.X
Port 443
xHTTP 0
Cert "X.pem"
HeadRemove "X-Forwarded-Proto"
AddHeader "X-Forwarded-Proto: https"
Service
Backend
Address 127.0.0.1
Port 9443
End
End
End
--
pound mailing list
pound@apsis.ch
https://admin.hostpoint.ch/mailman/listinfo/pound_apsis.ch