Welcome! Log In Create A New Profile

Advanced

Re: Relocatable installations

Reinis Rozitis
November 05, 2012 04:44PM
> 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).

../nginx -p /tmp/relocated/nginx


http://wiki.nginx.org/CommandLine

rr

_______________________________________________
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: 268
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