Sha256: 9ef25bddc2458e155430c2dfddae02f9d624298d1f07be34cc86d11ae32ea7f9

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 KB

Contents

http {
  include       mime.types;
  default_type  application/octet-stream;
  ssl_protocols  TLSv1.1 TLSv1.2;

  log_format  ltsv  'time:$time_local\t'
                    'msec:$msec\t'
                    'host:$remote_addr\t'
                    'forwardedfor:$http_x_forwarded_for\t'
                    'req:$request\t'
                    'method:$request_method\t'
                    'uri:$request_uri\t'
                    'status:$status\t'
                    'size:$body_bytes_sent\t'
                    'referer:$http_referer\t'
                    'ua:$http_user_agent\t'
                    'reqtime:$request_time\t'
                    'upsttime:$upstream_response_time\t'
                    'cache:$upstream_http_x_cache\t'
                    'runtime:$upstream_http_x_runtime\t'
                    'vhost:$host';

  access_log  /opt/nginx/shared/logs/access.log  ltsv;

  sendfile        on;
  #tcp_nopush     on;

  keepalive_timeout  65;

  #gzip  on;

  proxy_cache_path /opt/nginx/cache levels=1:2 keys_zone=cache:512m inactive=1d  max_size=60g;

  passenger_root /opt/passenger/current;
  passenger_instance_registry_dir /var/run/passenger-instreg;

  server {
    listen 80 default_server;
    server_name _;

    location ^~ /.well-known/acme-challenge/ {
      default_type "text/plain";
      root /opt/nginx/shared/letsencrypt;
    }

    location / {
      deny all;
    }
  }

  include /etc/nginx/conf.d/servers/*.conf;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
itamae-plugin-recipe-daddy-0.1.24 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.23 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.22 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.21 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.20 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb