Skip to content

Commit

Permalink
Merge pull request #4 from MiLk/features/configure-expose
Browse files Browse the repository at this point in the history
Add the ability to not expose php
  • Loading branch information
MiLk committed Dec 16, 2015
2 parents 28657a5 + 06b83e4 commit 2abaf49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ php_pm_start_servers: 5
php_pm_min_spare_servers: 5
php_pm_max_spare_servers: 35
php_pm_max_requests: 0

php_expose_php: on
2 changes: 1 addition & 1 deletion templates/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ disable_classes =
; threat in any way, but it makes it possible to determine whether you use PHP
; on your server or not.
; http://www.php.net/manual/en/ini.core.php#ini.expose-php
expose_php = On
expose_php = {{ 'On' if php_expose_php|bool else 'Off' }}

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
Expand Down

0 comments on commit 2abaf49

Please sign in to comment.