mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2025-09-09 14:09:29 +00:00
configure nginx with ssl
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
- nginx
|
||||
- passenger
|
||||
|
||||
- template: dest=/etc/nginx/conf.d/easyredmine.conf
|
||||
src=easyredmine.conf.j2
|
||||
- template: dest='/etc/nginx/conf.d/{{ ansible_fqdn }}.conf'
|
||||
src=nginx.conf.j2
|
||||
sudo: yes
|
||||
notify: restart nginx
|
||||
|
||||
@@ -31,6 +31,11 @@
|
||||
sudo: yes
|
||||
notify: restart nginx
|
||||
|
||||
- copy: dest='/etc/pki/tls/certs/{{ ansible_fqdn }}.pem'
|
||||
src='{{ nginx_pem }}'
|
||||
sudo: yes
|
||||
notify: restart nginx
|
||||
|
||||
- service: name=nginx
|
||||
state=started
|
||||
sudo: yes
|
||||
|
Reference in New Issue
Block a user