Skip to content

Instantly share code, notes, and snippets.

View brettpetch's full-sized avatar
🌥️
Call me Cloudflare because I'm Always Online™

Brett Petch brettpetch

🌥️
Call me Cloudflare because I'm Always Online™
  • Canada
  • 08:29 (UTC -05:00)
View GitHub Profile
@shijij
shijij / gist:54c9b21f26c08a15a70c182f03cb15b4
Created November 14, 2017 12:31
Nginx ssl reverse proxy with SNI
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name yourdomain
ssl_certificate /etc/ssl/localcerts/yourdomain.crt;
ssl_certificate_key /etc/ssl/localcerts/yourdomain.key;
ssl_ecdh_curve prime256v1;
ssl_session_cache builtin:1000 shared:SSL:10m;