chore: refine session and cookie settings
This commit is contained in:
@@ -9,10 +9,11 @@ framework:
|
||||
# Remove or comment this section to explicitly disable session support.
|
||||
session:
|
||||
handler_id: session.handler.native_file
|
||||
cookie_secure: auto
|
||||
cookie_secure: true
|
||||
cookie_samesite: lax
|
||||
storage_factory_id: session.storage.factory.native
|
||||
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
|
||||
name: epsession
|
||||
|
||||
#esi: true
|
||||
#fragments: true
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ task('deploy', [
|
||||
'database:migrate',
|
||||
'deploy:publish',
|
||||
'cachetool:clear:opcache',
|
||||
'deploy:thumbnails',
|
||||
// 'deploy:thumbnails',
|
||||
// 'deploy:stop-workers',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user