fixing nginx rule.