# Two questions/feature requests based on first-time setup experience

**URL:** <https://www.ruby-forum.com/t/two-questions-feature-requests-based-on-first-time-setup-experience/225475>\
**Category:** NGINX\
**Created:** [January 10, 2013, 7:17am UTC](https://www.ruby-forum.com/t/two-questions-feature-requests-based-on-first-time-setup-experience/225475 "2013-01-10T07:17:21Z")\
**Posts on this page:** 1\
**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:** [January 10, 2013, 7:17am UTC](https://www.ruby-forum.com/t/two-questions-feature-requests-based-on-first-time-setup-experience/225475/1 "2013-01-10T07:17:21Z")

</div>

Hi all,

I just got nginx/uwsgi up and running on Ubuntu Server 12.04. It works  
great without a great deal of configuration (which is awesome), but  
and I did have two questions/comments:

1. AFAIK, /etc/init.d/nginx start|reload|stop|etc is expected to be  
the “right” way to start the server on Ubuntu, but out of the box, it  
doesn’t let you pass in arguments. In my particular case, I wanted to  
do something like

/etc/init.d/nginx start -c /path/to/my/special/file.conf

You could imagine wanting to do similar things for -p and -g. Ergo, it  
would be really nice if nginx supported argument-passing to to its  
init.d script.

1. Specifying default error log at runtime - nginx now logs to  
var/log/nginx/error.log as the “default” logging location. It would be  
nice if a default could be specified instead of this, e.g.

nginx --default-error-log ~/custom-error-location/my-  
error-log.log

In my particular case, I’m trying to detach  
nginx as much as possible from the global context and isolate  
everything within my local context only (project folder). If there’s  
already a way to  
what I specified above, let me know, and let me know if you have any  
input or questions, etc.

Thanks all!  
Vaibhav Mallya  
@mallyvai
