Start server with a prefix for all relative paths in the configuration file

nginx

nginx -c {{configuration_file}} -p {{prefix/for/relative/paths}}

click the source code to copy install nginx on any operating system with command-not-found.com