2017 © Pedro Peláez
 

symfony-bundle nginx-session-handler

Nginx session handler

image

mrsuh/nginx-session-handler

Nginx session handler

  • Friday, May 18, 2018
  • by mrsuh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 117 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 19 % Grown

The README.md

nginx-session-handler

Latest Stable Version Total Downloads License, (*1)

This bundle integrates predis and snc/redis-bundle into your Symfony 3/4 application So, you need to configure the bundles too., (*2)

Installation

Add the nginx-session-handler package to your require section in the composer.json file., (*3)

composer require mrsuh/nginx-session-handler:2.*

Add the NginxSessionHandlerBundle to your application's kernel (Symfony 3):, (*4)

``` php <?php public function registerBundles() { $bundles = array( // ... new Mrsuh\NginxSessionHandlerBundle\MrsuhNginxSessionHandlerBundle(), // ... ); ... }, (*5)


Configure the `session` in your `config.yml`: ```yaml framework: session: handler_id: mrsuh.session_handler mrsuh_nginx_session_handler: session_lifetime: 3600 session_prefix: phpsession

Add session.lua script to your nginx.conf, (*6)

location /security {
    content_by_lua_file session.lua;
}

Now your php session locate in redis. Your location /security allow for authenticated users with role ROLE_ADMIN only., (*7)

The Versions

18/05 2018

dev-master

9999999-dev https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

18/05 2018

2.0.3

2.0.3.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

18/05 2018

2.0.2

2.0.2.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

16/01 2017

2.0.0

2.0.0.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

16/01 2017

2.0.1

2.0.1.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

02/06 2016

1.3.0

1.3.0.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

11/11 2015

1.2.0

1.2.0.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

11/11 2015

dev-dev

dev-dev https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

04/11 2015

1.1.0

1.1.0.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

04/11 2015

1.0.3

1.0.3.0 https://github.com/mrsuh/nginx-session-handler

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

04/11 2015

1.0.2

1.0.2.0

Nginx session handler

  Sources   Download

MIT

The Requires

 

by Avatar mrsuh

redis session nginx lua

04/11 2015

v1.0.1

1.0.1.0

Nginx session handler

  Sources   Download

The Requires

 

by Avatar mrsuh

redis session nginx lua

04/11 2015

v1.0.0

1.0.0.0

Ngxin sessoni handler

  Sources   Download

MIT

The Requires

 

nginx redis lua session