use sails recommended production settings
parent
158e7ab162
commit
c209b20345
|
@ -212,7 +212,7 @@ module.exports = {
|
|||
* *
|
||||
***************************************************************************/
|
||||
cookie: {
|
||||
// secure: true,
|
||||
secure: true,
|
||||
maxAge: 24 * 60 * 60 * 1000 // 24 hours
|
||||
}
|
||||
|
||||
|
@ -288,7 +288,7 @@ module.exports = {
|
|||
* (the "max-age" to include in the "Cache-Control" response header) *
|
||||
* *
|
||||
***************************************************************************/
|
||||
cache: 365.25 * 24 * 60 * 60 * 1000 // One year
|
||||
cache: 365.25 * 24 * 60 * 60 * 1000, // One year
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
|
@ -305,7 +305,7 @@ module.exports = {
|
|||
* (https://sailsjs.com/config/http) *
|
||||
* *
|
||||
***************************************************************************/
|
||||
// trustProxy: true,
|
||||
trustProxy: true
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue