server/plugins-available/nginx_plugin.inc.php
@@ -1155,6 +1155,7 @@ } // use vLib for template logic if(trim($nginx_directives) != '') { $nginx_directives_new = ''; $ngx_conf_tpl = new tpl(); $ngx_conf_tpl_tmp_file = tempnam($conf['temppath'], "ngx"); @@ -1168,6 +1169,7 @@ if(is_file($ngx_conf_tpl_tmp_file)) unlink($ngx_conf_tpl_tmp_file); if($nginx_directives_new != '') $nginx_directives = $nginx_directives_new; unset($nginx_directives_new); } // Make sure we only have Unix linebreaks $nginx_directives = str_replace("\r\n", "\n", $nginx_directives);