cert = /etc/ssl/certs/abcdefgh.0 pid = /var/run/stunnel4/stunnel.pid ; Some performance tunings socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 ; Some debugging stuff useful for troubleshooting debug = 4 ; Service-level configuration [https] accept = 443 connect = 8080 TIMEOUTclose = 0