# How configure httpd drizzle with nginx

**URL:** <https://www.ruby-forum.com/t/how-configure-httpd-drizzle-with-nginx/220341>\
**Category:** NGINX\
**Created:** [June 6, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/how-configure-httpd-drizzle-with-nginx/220341 "2012-06-06T14:05:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [June 6, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/how-configure-httpd-drizzle-with-nginx/220341/1 "2012-06-06T14:05:27Z")

</div>

`i configure nginx  
download nginx.1.0.8  
cd /nginx.1.0.8

./configure --prefix=/etc/nginx  
–add-module=/home/rohittyagi/Downloads/chaoslawful-drizzle-nginx-module-74682b1/  
–add-module=/home/rohittyagi/Downloads/agentzh-rds-json-nginx-module-74c21b3/

create virtual upstrem like

upstream backend {  
drizzled\_server 127.0.0.1:3306 dbname=vhost\_dbi  
password=root user=root protocol=mysql;  
}

its give error  
[emerg]: unknown directive “drizzled\_server” in  
/etc/nginx/nginx.conf:133  
can any one help me to configure HttpDrizzleModule with nginx`

Posted at Nginx Forum:

> **[how configure httpd drizzle with nginx](https://forum.nginx.org/read.php?2,227274,227274#msg-227274)**
>
> \`i configure nginx download nginx.1.0.8 cd /nginx.1.0.8 ./configure --prefix=/etc/nginx --add-module=/home/rohittyagi/Downloads/chaoslawful-drizzle-nginx-module-74682b1/ --add-module=/home/rohittyagi/Downloads/agentzh-rds-json-nginx-module-74c21b3/...

---

<div class="post-metadata">

**Author:** ![rohit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@rohit](https://www.ruby-forum.com/u/rohit)\
**Post date:** [June 6, 2012, 2:20pm UTC](https://www.ruby-forum.com/t/how-configure-httpd-drizzle-with-nginx/220341/2 "2012-06-06T14:20:39Z")

</div>

Hi,

that ‘unknown directive’ says it all. You need to check your backend  
definition. The drizzled\_server key simply does not exist. See the  
README of this module:

> **[GitHub - openresty/drizzle-nginx-module: an nginx upstream module that talks...](https://github.com/openresty/drizzle-nginx-module#readme)**
>
> an nginx upstream module that talks to mysql and drizzle by libdrizzle - GitHub - openresty/drizzle-nginx-module: an nginx upstream module that talks to mysql and drizzle by libdrizzle

That directive is called ‘drizzle\_server’. Should be working good good  
once you’ve corrected that typo.

Regards,  
Chris

2012/6/6 rohit [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
