Add support for FreeBSD

This commit is contained in:
Andres Montalban 2017-12-12 17:08:06 -03:00
parent 69e9b47baf
commit 7e259ebdd4

View File

@ -80,6 +80,17 @@
'server_enabled': '/etc/nginx/sites-enabled', 'server_enabled': '/etc/nginx/sites-enabled',
'server_use_symlink': True, 'server_use_symlink': True,
}, },
'FreeBSD': {
'package': 'nginx',
'passenger_package': 'passenger',
'service': 'nginx',
'webuser': 'www',
'conf_file': '/usr/local/etc/nginx/nginx.conf',
'server_available': '/usr/local/etc/nginx/sites-available',
'server_enabled': '/usr/local/etc/nginx/sites-enabled',
'server_use_symlink': True,
'pid_file': '/var/run/nginx.pid',
},
}, default='Debian' ), }, default='Debian' ),
'install_from_source': False, 'install_from_source': False,
'install_from_ppa': False, 'install_from_ppa': False,
@ -117,9 +128,9 @@
'gzip': 'off', 'gzip': 'off',
'gzip_disable': '"msie6"', 'gzip_disable': '"msie6"',
'include': [ 'include': [
'/etc/nginx/mime.types', 'mime.types',
'/etc/nginx/conf.d/*.conf', 'conf.d/*.conf',
'/etc/nginx/sites-enabled/*', 'sites-enabled/*',
], ],
}, },
}, },