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.

29 lines
694 B

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