ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

HowTo configure Nginx to run ChiliProject

In order to avoid duplication, follow the same HowTo on Redmine's wiki.
After you finished that HowTo, let's fix deleting projects.

On the nginx configuration file find:

    # When we're back to non-sensitive things, send back to http
    rewrite ^/$ http://your.domain.here$request_uri permanent;

    # Examples of URLs we don't want to rewrite (otherwise 404 errors occur):
    # /projects/PROJECTNAME/archive?status=
    # /projects/copy/PROJECTNAME
    # /projects/PROJECTNAME/destroy

    # This should exclude those (tested here: http://www.regextester.com/ )
    if ($uri !~* "^/projects/.*(copy|destroy|archive)") {
        rewrite ^/projects(.*) http://your.domain.here$request_uri permanent;
    }

Replace with:

    # When we're back to non-sensitive things, send back to http
    rewrite ^/$ http://dev.ufsoft.org$request_uri permanent;

    # We need to test if it's not a sensitive URL and if it's a GET method
    # since we should only redirect GET methods back to http!!!
    set $redirect_test "";
    if ( $request_method = GET ) {
        # This is a GET method, redirection can occurr
        set $redirect_test "G";
    }

    # Examples of URLs we don't want to rewrite (otherwise 404 errors occur):
    # /projects/PROJECTNAME/archive?status=
    # /projects/copy/PROJECTNAME
    # /projects/PROJECTNAME/destroy

    # This should exclude those (tested here: http://www.regextester.com/ )
    if ( $uri !~* "^/projects/.*(copy|destroy|archive)" ) {
        # This is not a sensisive url, redirection can occur
        set $redirect_test "${redirect_test}R";
    }
    if ($redirect_test = GR) {
        # Both tests above match, redirection can ocurr
        rewrite ^/projects(.*) http://dev.ufsoft.org$request_uri permanent;
    }

Now, deleting projects should work again.