Browse Source

bug fixes: nginx.conf is updated, typo in defaults corrected

nginx-letsencrypt
Lorenzo 8 years ago
parent
commit
37c875a18c
2 changed files with 6 additions and 2 deletions
  1. +1
    -1
      roles/nginx/defaults/main.yml
  2. +5
    -1
      roles/nginx/tasks/main.yaml

+ 1
- 1
roles/nginx/defaults/main.yml View File

@ -7,7 +7,7 @@ letsencrypt: false
nginx_max_clients: 512
nginx_http_params:
senfile: "on"
sendfile: "on"
tcp_nopush: "on"
tcp_nodelay: "on"
keepalive_timeout: "65"


+ 5
- 1
roles/nginx/tasks/main.yaml View File

@ -34,7 +34,11 @@
group: root
mode: 0755
when: letsencrypt|bool
- name: upload nginx configuration
template:
src: nginx.conf.j2
dest: /etc/nginx/nginx.conf
- name: disable nginx default configuration
file:
path: /etc/nginx/sites-enabled/default


Loading…
Cancel
Save