Sha256: 2b775a300a5b1c7be0c878b4335f62d125706892d33e20d6a2b8804adf728dca

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

worker_processes 1;

# Match this to the file owner of groonga database files if groonga-httpd is
# run as root.
user groonga groonga;

events {
  worker_connections 1024;
}

http {
  include mime.types;
  default_type application/octet-stream;
  sendfile on;
  keepalive_timeout 65;

  # The default groonga database path.
  groonga_database /home/vagrant/work/groonga/groonga/packages/windows/dist-x86/var/lib/groonga/db/db;

  # Create a groonga database automatically if the groonga database doesn't
  # exist.
  #
  # Note that this option is danger when worker_processes is greater than 1.
  # Because one or more worker processes may create the same groonga database
  # at the same time. If you can create a groonga database before running
  # groonga-httpd, you should do it.
  groonga_database_auto_create on;

  # The default groonga cache limit. The cache limit can be set
  # for each worker. It can't be set for each groonga database.
  # groonga_cache_limit 100;

  server {
    listen 10041;
    server_name localhost;

    location /d/ {
      groonga on;
      # You can disable log for groonga.
      # groonga_log_path off;
      # You can disable query log for groonga.
      # groonga_query_log_path off;
      # You can custom database path.
      # groonga_database /path/to/groonga/db;
    }

    location / {
      root /home/vagrant/work/groonga/groonga/packages/windows/dist-x86/share/groonga/html/admin;
      index index.html;
    }

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
      root html;
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rroonga-4.0.1-x86-mingw32 vendor/local/etc/groonga/httpd/groonga-httpd.conf
rroonga-4.0.0-x86-mingw32 vendor/local/etc/groonga/httpd/groonga-httpd.conf
rroonga-3.1.2-x86-mingw32 vendor/local/etc/groonga/httpd/groonga-httpd.conf