mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-12-16 15:30:34 +00:00
set login session cookie secure
This commit is contained in:
parent
7a3fb25625
commit
4efa8823d2
@ -111,3 +111,9 @@
|
|||||||
user='{{ redmine_owner }}'
|
user='{{ redmine_owner }}'
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
|
- name: set session cookie as secure
|
||||||
|
lineinfile: >
|
||||||
|
dest='{{ redmine_root_dir }}/config/application.rb'
|
||||||
|
regexp='^\s*config.session_store'
|
||||||
|
line=" config.session_store :cookie_store, :key => '_redmine_session', :secure => true"
|
||||||
|
notify: restart nginx
|
||||||
|
Loading…
Reference in New Issue
Block a user