From 7e259ebdd4f1d059f371e28848728e724dcb6e96 Mon Sep 17 00:00:00 2001 From: Andres Montalban Date: Tue, 12 Dec 2017 17:08:06 -0300 Subject: [PATCH] Add support for FreeBSD --- nginx/ng/map.jinja | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/nginx/ng/map.jinja b/nginx/ng/map.jinja index fc3c45d..e0665ec 100644 --- a/nginx/ng/map.jinja +++ b/nginx/ng/map.jinja @@ -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/*', ], }, },