Commit 296c9611 authored by omega8cc's avatar omega8cc

Nginx: Redirect to working homepage for subdir based site.

parent 23dc6c28
......@@ -476,6 +476,13 @@ location ^~ /<?php print $subdir; ?> {
}
<?php endif; ?>
###
### Redirect to working homepage.
###
location = /<?php print $subdir; ?> {
rewrite ^ $scheme://$host/<?php print $subdir; ?>/? permanent;
}
###
### Catch all unspecified requests.
###
......
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