1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/www/pound/files/pound.cfg.in
Alexey Dokuchaev c7369f228e - Update `www/pound' to version 2.8 and unbreak against
newish OpenSSL versions [*]
- Add a handful of useful patches from upstream SRPM
- Use upstream program description for COMMENT (shorter)
- Utilize its own installation target and only post-install
  documentation files; install sample configuration file
- Consummate conversion to option helpers and transfer
  maintainership to the new volunteer

PR:	234556 [*]
2019-03-30 15:47:42 +00:00

51 lines
844 B
INI

#User "pound"
#Group "pound"
RootJail "/var/empty/pound"
Control "/var/run/pound/ctl_socket"
# Main listening ports
ListenHTTP
Address 0.0.0.0
Port 81
xHTTP 1
End
ListenHTTPS
Address 0.0.0.0
Port 444
Cert "%%PREFIX%%/share/certs/pound.pem"
Disable SSLv3
Ciphers "ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:-LOW"
xHTTP 1
End
# Images server(s)
Service
URL ".*.(jpg|gif)"
BackEnd
Address 127.0.0.1
Port 80
End
End
# Redirect all requests for /forbidden
Service
Url "/forbidden.*"
Redirect "https://localhost/"
End
# Catch-all server(s)
Service
BackEnd
Address 127.0.0.1
Port 80
End
BackEnd
Address 127.0.0.1
Port 80
End
Session
Type BASIC
TTL 300
End
End