Commit 7acac7bf authored by omega8cc's avatar omega8cc

Nginx: Convert subdir alias name properly when used as server_name in redirection.

parent 5e2bb34e
......@@ -37,7 +37,7 @@ server {
// target as the hostname (if it exists) and not the original URL
// ($this->uri)
if ($this->redirection) {
print $this->redirection;
print str_replace('/', '.', $this->redirection);
} else {
print $this->uri;
}
......
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