imports:
    - { resource: config.yml }

doctrine:
    orm:
        metadata_cache_driver: %doctrine_cache_backend%
        result_cache_driver: %doctrine_cache_backend%
        query_cache_driver: %doctrine_cache_backend%

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      nested
            excluded_404s:
                - ^/
        nested:
            type:  stream
            path:  %kernel.logs_dir%/%kernel.environment%.log
            level: debug

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn: %redis_dsn%
        session:
            type: predis
            alias: session
            dsn: %redis_session_dsn%
    session:
        client: session

framework:
    session:
        cookie_secure: %force_ssl%
    validation:
        cache: %validation_cache_backend%

nelmio_security:
    clickjacking:
        paths:
            '^/.*': DENY
    forced_ssl:
        enabled: %force_ssl%
        hsts_max_age: 31104000 # 1y

imports:
    - { resource: config.yml }

doctrine:
    orm:
        metadata_cache_driver: %doctrine_cache_backend%
        result_cache_driver: %doctrine_cache_backend%
        query_cache_driver: %doctrine_cache_backend%

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      nested
            excluded_404s:
                - ^/
        nested:
            type:  stream
            path:  %kernel.logs_dir%/%kernel.environment%.log
            level: debug

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn: %redis_dsn%
            options:
                profile: 2.8
        session:
            type: predis
            alias: session
            dsn: %redis_session_dsn%
    session:
        client: session

framework:
    session:
        cookie_secure: %force_ssl%
    validation:
        cache: %validation_cache_backend%

nelmio_security:
    clickjacking:
        paths:
            '^/.*': DENY
    forced_ssl:
        enabled: %force_ssl%
        hsts_max_age: 31104000 # 1y

Define redis profile to allow usage of advanced features
Define redis profile to allow usage of advanced features
