# Extending the make install rules

**URL:** <https://www.ruby-forum.com/t/extending-the-make-install-rules/122471>\
**Category:** NGINX\
**Created:** [December 7, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/extending-the-make-install-rules/122471 "2007-12-07T21:35:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manlio\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/6f9a4e/32.png) [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Post date:** [December 7, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/extending-the-make-install-rules/122471/1 "2007-12-07T21:35:28Z")

</div>

Hi.

In mod\_wsgi I need to install the file wsgi\_params in NGX\_CONF\_PATH and  
ngx\_wsgi.py[1] in NGX\_SBIN\_PATH.

Unfortunately it seems that the installation phase is not configurable  
via the addons config file.

Igor, do you plan to improve support for addons, or should I write a  
custom setup file?

Thanks Manlio P.

[1] ngx\_wsgi.py is a wrapper for executing nginx using command line  
options, instead of the configuration file.  
As an example:

```
 ngx_wsgi.py -main.worker_processes 2 \
             -server.listen 8080 -server.server_name localhost \
             -wsgi_pass '/usr/local/nginx/nginx.py main'

http://localhost:9999/nginx/mod_wsgi/file/tip/bin/ngx_wsgi.py
```
