|
|
- # {{ ansible_managed }}
- #
- user www-data;
-
- pid /var/run/nginx.pid;
-
- events {
- worker_connections {{ nginx_max_clients }};
- }
-
- http {
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- access_log {{ nginx_log_dir }}/{{ nginx_access_log_name }};
- error_log {{ nginx_log_dir }}/{{ nginx_error_log_name }};
-
- {% for k,v in nginx_http_params.iteritems() %}
- {{ k }} {{ v }};
- {% endfor %}
-
- gzip on;
-
- include /etc/nginx/conf.d/*.conf;
- include /etc/nginx/sites-enabled/*;
- }
|