Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
615 B

  1. # {{ ansible_managed }}
  2. #
  3. user www-data;
  4. pid /var/run/nginx.pid;
  5. events {
  6. worker_connections {{ nginx_max_clients }};
  7. }
  8. http {
  9. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  10. include /etc/nginx/mime.types;
  11. default_type application/octet-stream;
  12. access_log {{ nginx_log_dir }}/{{ nginx_access_log_name }};
  13. error_log {{ nginx_log_dir }}/{{ nginx_error_log_name }};
  14. {% for k,v in nginx_http_params.iteritems() %}
  15. {{ k }} {{ v }};
  16. {% endfor %}
  17. gzip on;
  18. include /etc/nginx/conf.d/*.conf;
  19. include /etc/nginx/sites-enabled/*;
  20. }