Skip to main content

HTTP/HTTPS

Surfboard supports both standard HTTP proxies and secure HTTPS (HTTP over TLS) proxies for routing traffic.

Protocol Standard

Example

# Standard HTTP proxy without encryption
ProxyHTTP = http, 1.2.3.4, 443, username, password

# Secure HTTPS proxy with TLS and SNI configuration
ProxyHTTPS = https, 1.2.3.4, 443, username, password, skip-cert-verify=true, sni=www.example.com

Format

{proxy name} = {protocol}, {server}, {port}, {username}, {password}, {skip-cert-verify}, {sni}

Parameters

NameValueMandatoryNote
proxy name-true
protocolhttp
https
true
server-trueSupports domain and IP formats.
port0-65535true
username-false
password-false
skip-cert-verifytrue
false
falseApplicable if protocol is https.
Set to true if the proxy does not have a valid TLS certificate.
sni-falseApplicable if protocol is https.
Definition is unnecessary if the SNI value matches the host value.