engineyard / ey-cookbooks-stable-v6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't configure SSL protocols for PHP apps

dvalfre opened this issue · comments

On PHP apps, it's not possible to configure the SSL protocols that Nginx is using.
It seems on #172 we did not include in cookbooks/nginx/templates/default/fpm-server.conf.erb the same changes done in cookbooks/nginx/templates/default/nginx_app.conf.erb, particularly the like include /etc/nginx/servers/<%= @vhost.app.name %>/ssl_cipher;.

As a workaround, adding a line containing include /etc/nginx/servers/<app_name>/ssl_cipher; to files /etc/nginx/servers/<app_name>.ssl.conf should work (replace <app_name> with the real name of the app).