[WIP] Some improvements

This commit is contained in:
Emilien Mantel
2019-12-24 18:34:37 +01:00
parent 9738ae9614
commit 1eea41cd39
5 changed files with 59 additions and 0 deletions

Binary file not shown.

10
filter_plugins/php.py Normal file
View File

@@ -0,0 +1,10 @@
def php_socket(php_version, pool_name):
return '/run/php/php%s-%s-fpm.sock' % (php_version, pool_name)
class FilterModule(object):
''' PHP module '''
def filters(self):
return {
'php_socket': php_socket,
}

BIN
filter_plugins/php.pyc Normal file

Binary file not shown.