diff --git a/images/php-fpm/lighttpd.conf b/images/php-fpm/lighttpd.conf index 10eaa1d..15e2f6c 100644 --- a/images/php-fpm/lighttpd.conf +++ b/images/php-fpm/lighttpd.conf @@ -1,3 +1,8 @@ +server.modules = ( + "mod_indexfile", + "mod_fastcgi" +) + server.document-root = "/srv" server.port = 3000 index-file.names = ( "index.html" ) diff --git a/images/php-fpm/www.conf b/images/php-fpm/www.conf index 36fc645..ae68b62 100644 --- a/images/php-fpm/www.conf +++ b/images/php-fpm/www.conf @@ -1,5 +1,10 @@ pid = /run/php-fpm.pid +; Log to stdout/stderr 'cause Nomad +; ....we really need to replace Nomad >_< +access.log = /proc/self/fd/2 +error_log = /proc/self/fd/2 + [www] user = www-data group = www-data @@ -11,8 +16,3 @@ pm.max_children = 8 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 2 - -; Log to stdout/stderr 'cause Nomad -; ....we really need to replace Nomad >_< -access.log = /proc/self/fd/2 -error_log = /proc/self/fd/2 \ No newline at end of file