Welcome! Log In Create A New Profile

Advanced

Re: Relocatable installations

Michael Williamson
November 05, 2012 04:54PM
> > Is there a way to run nginx in its new directory as though it had been
> > installed there directly, using either compile- or run-time options?
>
> You can use the -p switch after 'nginx' binary to change the default
> install time prefix (and/or -c for different path for config file).

Aha! That seems to be what I'm looking for. Not sure how I missed that
-- I think I must have been expecting it to be a compile-time option
rather than a run-time option.

Thanks for pointing it out.

Mike

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Relocatable installations

Michael Williamson November 05, 2012 04:26PM

Re: Relocatable installations

Reinis Rozitis November 05, 2012 04:44PM

Re: Relocatable installations

Michael Williamson November 05, 2012 04:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 230
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready