Skip to content

Instantly share code, notes, and snippets.

@ozten
Created July 9, 2014 17:37
Show Gist options
  • Save ozten/4c6a6e8e4f00d5b0c62d to your computer and use it in GitHub Desktop.
Save ozten/4c6a6e8e4f00d5b0c62d to your computer and use it in GitHub Desktop.
client-sessions secureProxy
+++ b/server/bin/betafox
@@ -78,6 +78,7 @@ confsys.withConfig(function(config) {
cookieName: sessionConf.cookieName,
secret: sessionConf.secret,
duration: sessionConf.duration,
+ secureProxy: true,
cookie: {
secure: (config.env === 'production' ? true : false),
httpOnly: true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment