summaryrefslogtreecommitdiffstats
path: root/roles/common-web/files/etc/nginx/fastcgi/php-ssl
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-15 22:54:56 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:26 +0200
commit540779286a899dee846784a8ffd0fdab756ac1e3 (patch)
tree74aa5483d2e9215306f32d1425a539ecad36ab96 /roles/common-web/files/etc/nginx/fastcgi/php-ssl
parentfaee1bbc276b63a81f3b81eae0f02bcaffabca6d (diff)
Common web configuration.
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;