# Ngx\_shared\_env\_module

**URL:** <https://www.ruby-forum.com/t/ngx-shared-env-module/236758>\
**Category:** NGINX\
**Created:** [October 1, 2013, 9:50am UTC](https://www.ruby-forum.com/t/ngx-shared-env-module/236758 "2013-10-01T09:50:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alcina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@alcina](https://www.ruby-forum.com/u/alcina)\
**Post date:** [October 1, 2013, 9:50am UTC](https://www.ruby-forum.com/t/ngx-shared-env-module/236758/1 "2013-10-01T09:50:24Z")

</div>

I have decided to release an in-house module that I have been using for  
my  
hosting company. A full explanation of the goals of the module is  
available  
in the README.

> **[GitHub - aschlosberg/ngx-shared-env: nginx module for shared hosting environment](https://github.com/aschlosberg/ngx-shared-env)**
>
> nginx module for shared hosting environment. Contribute to aschlosberg/ngx-shared-env development by creating an account on GitHub.

I am well aware that this module introduces (minor) additional  
per-request  
overheads. However, experience has shown them to be far superior to the  
alternative of Apache whilst allowing the freedom to run a shared  
environment without constantly restarting the nginx. As my knowledge of  
the  
inner workings of nginx is not as sophisticated as that of others I  
welcome  
feedback regarding optimisation.

Posted at Nginx Forum:

> **[\[ANNOUNCE\] ngx\_shared\_env\_module](https://forum.nginx.org/read.php?2,243296,243296#msg-243296)**
>
> I have decided to release an in-house module that I have been using for my hosting company. A full explanation of the goals of the module is available in the README. https://github.com/aschlosberg/ngx-shared-env I am well aware that this module...
