summaryrefslogtreecommitdiffstats
path: root/roles/common-web/files/etc/nginx/snippets/fastcgi-php-ssl.conf
blob: ebf3aa0987f2305dde245cfd934869bc32b5942f (plain)
1
2
3
4
5
6
7
8
9
10
# PHP only.
# Credits to http://claylo.com/post/7617674014/ssl-php-fpm-and-nginx

include snippets/fastcgi-php.conf;

fastcgi_param HTTPS					on;
fastcgi_param SSL_PROTOCOL			$ssl_protocol;
fastcgi_param SSL_CIPHER			$ssl_cipher;
fastcgi_param SSL_SESSION_ID		$ssl_session_id;
fastcgi_param SSL_CLIENT_VERIFY		$ssl_client_verify;