Skip to content

Commit

Permalink
Merge pull request #48 from slyoldfox/master
Browse files Browse the repository at this point in the history
Correctly rewrite the root when using SSL, fixes #47
  • Loading branch information
dj-wasabi committed Feb 11, 2015
2 parents 0f7c708 + a801779 commit 79de975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
{
comment => 'redirect all to https',
rewrite_cond => ['%{SERVER_PORT} !^443$'],
rewrite_rule => ["^/(.+)$ https://${zabbix_url}/\$1 [L,R]"],
rewrite_rule => ["^/(.*)$ https://${zabbix_url}/\$1 [L,R]"],
}
],
}
Expand Down

0 comments on commit 79de975

Please sign in to comment.