Commit 4bbd969b authored by anarcat's avatar anarcat

explode oneliner so it's more readable, no change

parent 8075ba33
......@@ -17,7 +17,15 @@ if ($ssl_redirection || $this->redirection) {
server {
limit_conn gulag 32; # like mod_evasive - this allows max 32 simultaneous connections from one IP address
listen *:<?php print $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; ?>;
server_name <?php
print $this->uri;
if (!$this->redirection && is_array($this->aliases)) {
foreach ($this->aliases as $alias_url) {
if (trim($alias_url)) {
print $alias_url;
}
}
} ?>;
root <?php print "{$this->root}"; ?>;
<?php print $extra_config; ?>
<?php
......
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