Skip to content

Commit

Permalink
just use $scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 12, 2015
1 parent f5741ec commit faf601a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -186,7 +186,7 @@ newer versions.
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto "http";
proxy_set_header X-Forwarded-Proto $scheme;
}
}

Expand Down

0 comments on commit faf601a

Please sign in to comment.