Sha256: 69da349ea2bcaff0c15532dc7f37b9e33488a3334147d1b9fce4314f7d6de74b

Contents?: true

Size: 1.44 KB

Versions: 16

Compression:

Stored size: 1.44 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 <%= `sudo passenger-config about root` %>;
  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

16 entries across 16 versions & 1 rubygems

Version Path
itamae-plugin-recipe-daddy-0.1.19 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.18 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.17 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.16 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.15 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.14 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.13 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.12 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.11 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.10 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.9 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.8 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.7 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.6 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.5 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
itamae-plugin-recipe-daddy-0.1.4 lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb