Commit 8bf4fd88 authored by anarcat's avatar anarcat

1170498 by crea: add missing extra_config variable from nginx vhost and server templates

parent ddfe3528
......@@ -111,7 +111,7 @@ if ($nginx_has_upload_progress) {
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log crit;
<?php print $extra_config; ?>
#######################################################
### nginx default server
#######################################################
......
......@@ -17,6 +17,7 @@ server {
listen <?php print $ip_address . ':' . $http_port; ?>;
server_name <?php print $this->uri; ?><?php if (!$this->redirection && is_array($this->aliases)) : foreach ($this->aliases as $alias_url) : if (trim($alias_url)) : ?> <?php print $alias_url; ?><?php endif; endforeach; endif; ?>;
root <?php print "{$this->root}"; ?>;
<?php print $extra_config; ?>
<?php
$nginx_has_new_version = drush_get_option('nginx_has_new_version');
$nginx_has_upload_progress = drush_get_option('nginx_has_upload_progress');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment