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.
|
# Remove or comment this section to explicitly disable session support.
|
||||||
session:
|
session:
|
||||||
handler_id: session.handler.native_file
|
handler_id: session.handler.native_file
|
||||||
cookie_secure: auto
|
cookie_secure: true
|
||||||
cookie_samesite: lax
|
cookie_samesite: lax
|
||||||
storage_factory_id: session.storage.factory.native
|
storage_factory_id: session.storage.factory.native
|
||||||
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
|
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
|
||||||
|
name: epsession
|
||||||
|
|
||||||
#esi: true
|
#esi: true
|
||||||
#fragments: true
|
#fragments: true
|
||||||
|
|||||||
+1
-1
@@ -92,7 +92,7 @@ task('deploy', [
|
|||||||
'database:migrate',
|
'database:migrate',
|
||||||
'deploy:publish',
|
'deploy:publish',
|
||||||
'cachetool:clear:opcache',
|
'cachetool:clear:opcache',
|
||||||
'deploy:thumbnails',
|
// 'deploy:thumbnails',
|
||||||
// 'deploy:stop-workers',
|
// 'deploy:stop-workers',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user