Skip to content

Instantly share code, notes, and snippets.

@vaughany
Created May 9, 2018 10:35
Show Gist options
  • Select an option

  • Save vaughany/a6c8c5afa7391c0b8c24f2433381cee8 to your computer and use it in GitHub Desktop.

Select an option

Save vaughany/a6c8c5afa7391c0b8c24f2433381cee8 to your computer and use it in GitHub Desktop.
Nginx log config to log SSL protocols and ciphers.
log_format main '$remote_addr - $ssl_protocol/$ssl_cipher - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment