Commit c7d59973 authored by omega8cc's avatar omega8cc

Disable access_log for redirect vhost to limit noise in the Nginx acces log.

parent c00a2c40
......@@ -6,6 +6,7 @@ if ($ssl_redirection || $this->redirection) {
print "server {\n";
print " listen {$ip_address}:{$http_port};\n";
print " server_name {$alias_url};\n";
print " access_log off;\n";
print " rewrite ^ \$scheme://{$this->uri}\$request_uri? permanent;\n";
print "}\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