Skip to content

Instantly share code, notes, and snippets.

@ctomc
Created October 7, 2013 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctomc/6866338 to your computer and use it in GitHub Desktop.
Save ctomc/6866338 to your computer and use it in GitHub Desktop.
nginx proxy ssl cert forward
location / {
index index.html index.htm;
proxy_set_header Host $host;
proxy_set_header SSL_SESSION_ID $ssl_session_id;
proxy_set_header SSL_CLIENT_CERT $ssl_client_cert;
proxy_set_header SSL_CIPHER $ssl_cipher
proxy_pass http://localhost:8080;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment