Commit 32264739 authored by omega8cc's avatar omega8cc

Issue #2117227 by Ogredude - Missing newline causes syntax errors in vhost.d...

Issue #2117227 by Ogredude - Missing newline causes syntax errors in vhost.d nginx config when redirects are enabled.
parent 6542916d
......@@ -2,7 +2,7 @@
if ($ssl_redirection || $this->redirection) {
// Redirect all aliases to the main http url using separate vhosts blocks to avoid if{} in Nginx.
foreach ($this->aliases as $alias_url) {
print "# alias redirection virtual host";
print "# alias redirection virtual host\n";
print "server {\n";
print " limit_conn gulag 32;\n";
print " listen *:{$http_port};\n";
......
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