|
@@ -1,3 +1,29 @@
|
|
---
|
|
---
|
|
nginx::server_package: 'nginx'
|
|
nginx::server_package: 'nginx'
|
|
nginx::server_service: 'nginx'
|
|
nginx::server_service: 'nginx'
|
|
|
|
+
|
|
|
|
+# Global section
|
|
|
|
+nginx::user: 'www-data'
|
|
|
|
+nginx::worker_processes: 'auto'
|
|
|
|
+nginx::pid: '/run/nginx.pid'
|
|
|
|
+
|
|
|
|
+# Events section
|
|
|
|
+nginx::worker_connections: 768
|
|
|
|
+
|
|
|
|
+# HTTP Basic section
|
|
|
|
+nginx::sendfile: 'on'
|
|
|
|
+nginx::tcp_nopush: 'on'
|
|
|
|
+nginx::keepalive_timeout: 65
|
|
|
|
+nginx::types_hash_max_size: 2048
|
|
|
|
+nginx::default_type: 'application/octet-stream'
|
|
|
|
+
|
|
|
|
+# HTTP SSL section
|
|
|
|
+nginx::ssl_prefer_server_ciphers: 'on'
|
|
|
|
+
|
|
|
|
+# HTTP Logging section
|
|
|
|
+nginx::access_log: '/var/log/nginx/access.log'
|
|
|
|
+nginx::error_log: '/var/log/nginx/error.log'
|
|
|
|
+
|
|
|
|
+# HTTP Gzip section
|
|
|
|
+nginx::gzip: 'on'
|
|
|
|
+nginx::gzip_disable: 'msie6'
|