diff options
Diffstat (limited to 'fluent-bit/lib/monkey/plugins/fastcgi/conf')
-rw-r--r-- | fluent-bit/lib/monkey/plugins/fastcgi/conf/CMakeLists.txt | 9 | ||||
-rw-r--r-- | fluent-bit/lib/monkey/plugins/fastcgi/conf/fastcgi.conf | 16 |
2 files changed, 25 insertions, 0 deletions
diff --git a/fluent-bit/lib/monkey/plugins/fastcgi/conf/CMakeLists.txt b/fluent-bit/lib/monkey/plugins/fastcgi/conf/CMakeLists.txt new file mode 100644 index 000000000..0623bf68b --- /dev/null +++ b/fluent-bit/lib/monkey/plugins/fastcgi/conf/CMakeLists.txt @@ -0,0 +1,9 @@ +set(conf_dir "${MK_PATH_CONF}/plugins/fastcgi/") + +install(DIRECTORY DESTINATION ${conf_dir}) + +if(BUILD_LOCAL) + file(COPY fastcgi.conf DESTINATION ${conf_dir}) +else() + install(FILES fastcgi.conf DESTINATION ${conf_dir}) +endif() diff --git a/fluent-bit/lib/monkey/plugins/fastcgi/conf/fastcgi.conf b/fluent-bit/lib/monkey/plugins/fastcgi/conf/fastcgi.conf new file mode 100644 index 000000000..c5651c748 --- /dev/null +++ b/fluent-bit/lib/monkey/plugins/fastcgi/conf/fastcgi.conf @@ -0,0 +1,16 @@ +# FastCGI +# ======= +# To enable this plugin you'll need at least one [FASTCGI_SERVER]. +# +# This configuration handles php scripts using php5-fpm running on +# localhost or over the network. + +[FASTCGI_SERVER] + # Each server must have a unique name, this is mandatory. + ServerName php5-fpm1 + + # Depending on your version of php5-fpm, one of these should be + # enabled. + # + # ServerAddr 127.0.0.1:9000 + ServerPath /var/run/php5-fpm.sock |