From 540779286a899dee846784a8ffd0fdab756ac1e3 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 15 Dec 2013 22:54:56 +0100 Subject: Common web configuration. --- roles/common-web/files/etc/nginx/fastcgi/php-ssl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 roles/common-web/files/etc/nginx/fastcgi/php-ssl (limited to 'roles/common-web/files/etc/nginx/fastcgi/php-ssl') diff --git a/roles/common-web/files/etc/nginx/fastcgi/php-ssl b/roles/common-web/files/etc/nginx/fastcgi/php-ssl new file mode 100644 index 0000000..b2a419c --- /dev/null +++ b/roles/common-web/files/etc/nginx/fastcgi/php-ssl @@ -0,0 +1,8 @@ +# PHP only. +# Credits to http://claylo.com/post/7617674014/ssl-php-fpm-and-nginx + +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; -- cgit v1.2.3