#!/bin/sh

. caterva-alterator.sh
. verborum-caterva-valtable

if [ -n "$(read_val SQ_SSL_ports)" ] && [ "$(read_val SQ_SSL_ports)" = "yes" ]; then
    cat <<EOF
# Deny CONNECT to other than SSL ports
acl CONNECT method CONNECT
http_access deny CONNECT !SSL_ports
EOF
    print_info "Deny CONNECT to other than SSL ports"
fi
