Feature request: Add scripts similar to Apache's a2ensite/a2dissite

Bug #1092249 reported by Thomas Ward
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nginx (Debian)
Fix Released
Unknown
nginx (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Copied from Debian upstream, but for Apache -> NGINX converts, this would be useful.

======

Quoted from Debian bug:
From: Cyril Lavier <email address hidden>
To: <email address hidden>
Subject: Why not adding a a2ensite/a2dissite like script for Nginx ?
Date: Wed, 14 Dec 2011 22:11:53 +0100

Package: nginx

Hi.

I just discovered there a github project with a a2ensite/a2dissite like script for Nginx.

As it lacked some functionalities (like displaying a list of sites to enable/disable when no site in given from the command line), I decided to fork it :https://github.com/davromaniak/nginx_ensite

The script is working, but I think it needs more work to make it reliable.

So I would like to know what you think about the possibility of adding such a script in the nginx packages (maybe nginx-common) ?

If needed, I can go on, and take responsibilities on maintaining this script under debian, or I can ask the original author if he's interested in this.

So I open this bug to have your opinions about this, and see if it's actually useful.

Thanks.

--
Cyril "Davromaniak" Lavier

======

Automatically marking as "Wishlist" and "Triaged", and attaching the Debian bug.

Changed in nginx (Debian):
status: Unknown → New
Revision history for this message
Cyril Lavier (davromaniak) wrote :

This a copy of the last update of debian's related bug :

Hello.

First, thanks Thomas for relaying the bug in Ubuntu. I will try to
update both bugs when giving updates.

The project is still alive (here :
https://github.com/davromaniak/nginx_ensite). First, we wanted to add
them before the freeze of debian wheezy, but we thought the scripts
where too green for that and we delayed their inclusion.

We schedule to include the scripts for Wheezy+1, and after the freeze of
Ubuntu Raring, as we don't want to risk adding severe bugs in a stable
(even not LTS) release of Ubuntu.

By the way, if anybody wants to grab the script and test it, don't
hesitate to do so and open issues on github if needed.

Thanks.

Changed in nginx (Debian):
status: New → Fix Committed
Changed in nginx (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Simon Déziel (sdeziel) wrote :

The "ngx-conf" command was added to 1.9.1-1. Marking as fix released since Wily shipped with 1.9.3-1ubuntu1.

Changed in nginx (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.