22 lines
523 B
Plaintext
22 lines
523 B
Plaintext
|
; File: /etc/stunnel/stunnel.conf
|
||
|
|
||
|
; Note: The pid and output locations are relative to the chroot location.
|
||
|
|
||
|
pid = /run/stunnel.pid
|
||
|
chroot = /var/lib/stunnel
|
||
|
client = no
|
||
|
setuid = stunnel
|
||
|
setgid = stunnel
|
||
|
cert = /etc/stunnel/stunnel.pem
|
||
|
|
||
|
;debug = 7
|
||
|
;output = stunnel.log
|
||
|
|
||
|
;[https]
|
||
|
;accept = 443
|
||
|
;connect = 80
|
||
|
;; "TIMEOUTclose = 0" is a workaround for a design flaw in Microsoft SSL
|
||
|
;; Microsoft implementations do not use SSL close-notify alert and thus
|
||
|
;; they are vulnerable to truncation attacks
|
||
|
;TIMEOUTclose = 0
|