Skip to content

Commit 3bb2fba

Browse files
authored
Merge pull request #872 from DuendeSoftware/mb/fixhosts
Fix redirects hostname
2 parents 3193d68 + ec45d09 commit 3bb2fba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/plugins/static-redirects.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ function createNginxRule(redirectFrom: string, redirectTo: string) {
1111
return (
1212
"rewrite ^" +
1313
redirectFrom +
14-
"(/?)$ $scheme://$http_host" +
14+
//"(/?)$ $scheme://$http_host" +
15+
"(/?)$ https://docs.duendesoftware.com" + // use the production domain
1516
redirectTo +
1617
"/ permanent;\n"
1718
);

0 commit comments

Comments
 (0)