summaryrefslogtreecommitdiffstats
path: root/roles/common-web/files/etc/nginx/fastcgi/php-ssl
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common-web/files/etc/nginx/fastcgi/php-ssl')
-rw-r--r--roles/common-web/files/etc/nginx/fastcgi/php-ssl8
1 files changed, 8 insertions, 0 deletions
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;