HTTPS

HTTP/2 + TLS is enabled by default for faster dev server page loads. Browsers limit HTTP/1.1 to 6 connections per host, which bottlenecks dev servers serving many unbundled files. HTTP/2 multiplexes all requests over a single connection.

First run generates a local CA and server certs, then adds the CA to your system trust store. After that, no prompts, no browser warnings.

On WSL, portless updates both the Linux trust store and the Windows current-user Root store. Windows browsers can then verify portless HTTPS certificates served from WSL.

Custom certificates

Use your own certs (e.g., from mkcert):

portless proxy start --cert ./cert.pem --key ./key.pem

Trust the CA later

If you skipped the trust prompt on first run:

portless trust

Disable HTTPS

Use --no-tls to run with plain HTTP on port 80:

portless proxy start --no-tls