Merge pull request #171 from Perceptyx/master

Add support for FreeBSD
This commit is contained in:
Niels Abspoel 2017-12-16 09:25:25 +01:00 committed by GitHub
commit 1b616bf3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 44 additions and 33 deletions

View File

@ -80,6 +80,17 @@
'server_enabled': '/etc/nginx/sites-enabled',
'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' ),
'install_from_source': False,
'install_from_ppa': False,
@ -117,9 +128,9 @@
'gzip': 'off',
'gzip_disable': '"msie6"',
'include': [
'/etc/nginx/mime.types',
'/etc/nginx/conf.d/*.conf',
'/etc/nginx/sites-enabled/*',
'mime.types',
'conf.d/*.conf',
'sites-enabled/*',
],
},
},