Skip to content

Commit

Permalink
Correctly rewrite the root when using SSL, fixes #47
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Vanbrabant committed Feb 10, 2015
1 parent 0f7c708 commit a801779
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 a801779

Please sign in to comment.