Created
December 14, 2014 03:00
-
-
Save jowrjowr/493d78611dfa9fe1b8d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class { 'nginx::service': } | |
| class { 'nginx::config': | |
| http_cfg_append => { | |
| 'log_format' => 'proxylog \'$http_x_real_ip - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"\'', | |
| 'fastcgi_cache_path' => '/var/lib/nginx/tmp/fastcgi/ levels=1:2 keys_zone=microcache:10m max_size=1024m inactive=1h', | |
| }, | |
| gzip => true, | |
| names_hash_max_size => '2048', | |
| names_hash_bucket_size => '256', | |
| confd_purge => true, | |
| vhost_purge => true, | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment