1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-12-16 07:20:36 +00:00

set login session cookie secure

This commit is contained in:
Mark Heiges 2016-04-21 12:18:38 -04:00
parent 7a3fb25625
commit 4efa8823d2

View File

@ -111,3 +111,9 @@
user='{{ redmine_owner }}'
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