Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
c0b14689
Commit
c0b14689
authored
Aug 08, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store sessions in a Redis namespace
This makes less of a mess of the Redis root.
parent
9122823a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config/initializers/session_store.rb
config/initializers/session_store.rb
+1
-1
No files found.
config/initializers/session_store.rb
View file @
c0b14689
...
...
@@ -2,7 +2,7 @@
Gitlab
::
Application
.
config
.
session_store
(
:redis_store
,
# Using the cookie_store would enable session replay attacks.
servers:
Gitlab
::
Application
.
config
.
cache_store
[
1
],
# re-use the Redis config from the Rails cache store
servers:
Gitlab
::
Application
.
config
.
cache_store
[
1
]
.
merge
(
namespace:
'session:gitlab'
)
,
# re-use the Redis config from the Rails cache store
key:
'_gitlab_session'
,
secure:
Gitlab
.
config
.
gitlab
.
https
,
httponly:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment